/* ============================================================
   TopAntenna — site stylesheet
   Palette: navy #0A2463 | orange #FF6B35 | teal #00D4AA
   ============================================================ */

:root {
  --navy: #0A2463;
  --navy-600: #12357f;
  --navy-700: #0d2b74;
  --orange: #FF6B35;
  --orange-600: #e85a26;
  --teal: #00D4AA;
  --teal-600: #00b391;
  --ink: #12172B;
  --slate: #5A6B8C;
  --slate-light: #8595b1;
  --line: #e3e9f3;
  --line-soft: #eef2f9;
  --bg: #f7f9fd;
  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(10, 36, 99, .05), 0 2px 10px rgba(10, 36, 99, .05);
  --shadow: 0 4px 14px rgba(10, 36, 99, .08), 0 14px 40px rgba(10, 36, 99, .07);
  --shadow-lg: 0 18px 60px rgba(10, 36, 99, .16);
  --smooth: cubic-bezier(.4, 0, .2, 1);
  --container: 1240px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s var(--smooth); }
a:hover { color: var(--orange); }
h1, h2, h3, h4, h5 { margin: 0 0 .5em; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: 15px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ------------------------------- buttons ------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border: 1px solid transparent; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: transform .16s var(--smooth), box-shadow .2s var(--smooth), background .2s var(--smooth), color .2s var(--smooth), border-color .2s var(--smooth);
  background: var(--navy); color: #fff; text-decoration: none;
}
.btn:hover { transform: translateY(-1px); color: #fff; }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(255, 107, 53, .28); }
.btn--primary:hover { background: var(--orange-600); box-shadow: 0 10px 26px rgba(255, 107, 53, .34); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-600); }
.btn--teal { background: var(--teal); color: #04352b; }
.btn--outline { background: #fff; border-color: var(--line); color: var(--navy); }
.btn--outline:hover { border-color: var(--navy); color: var(--navy); }
.btn--ghost { background: rgba(10, 36, 99, .06); color: var(--navy); }
.btn--ghost:hover { background: rgba(10, 36, 99, .12); color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }
.btn--sm { padding: 9px 16px; font-size: 13.5px; border-radius: 7px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* -------------------------------- header ------------------------------- */

.topbar { background: var(--navy); color: rgba(255, 255, 255, .82); font-size: 13px; }
.topbar__inner { display: flex; align-items: center; gap: 22px; height: 40px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; color: inherit; }
.topbar a.topbar__item:hover { color: #fff; }
.topbar__spacer { flex: 1; }

/* Language switcher with flags */
.topbar__lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.topbar__lang-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
  transition: all .2s ease;
  cursor: pointer;
}
.topbar__lang-item:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
}
.topbar__lang-item--current {
  background: rgba(255, 255, 255, .15);
  border-color: rgba(255, 255, 255, .4);
  color: #fff;
  cursor: default;
}
.topbar__lang-flag {
  width: 18px;
  height: 13px;
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
}
.topbar__lang-code {
  letter-spacing: .05em;
  text-transform: uppercase;
}

.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 28px; height: 78px; }

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand__mark { width: 44px; height: 44px; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 11px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.12; }
.brand__text strong { font-size: 21px; font-weight: 800; color: var(--navy); letter-spacing: -.03em; }
.brand__text em { font-style: normal; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-light); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 5px; padding: 10px 14px; border-radius: 8px; font-weight: 600; font-size: 15px; color: var(--ink); }
.nav__link:hover, .nav__link--active { background: var(--bg); color: var(--navy); }

.mega {
  position: absolute; top: calc(100% + 14px); left: -20px; width: min(1080px, 88vw);
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 26px 26px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 26px;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .22s var(--smooth);
}
.nav__item--mega:hover .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega__col { padding-bottom: 18px; }
.mega__title { display: block; font-weight: 700; font-size: 14.5px; color: var(--navy); margin-bottom: 8px; }
.mega__list li { margin-bottom: 5px; }
.mega__list a { font-size: 13.8px; color: var(--slate); }
.mega__list a:hover { color: var(--orange); }
.mega__desc { font-size: 13px; color: var(--slate-light); margin: 0; }
.mega__foot { grid-column: 1 / -1; border-top: 1px solid var(--line-soft); margin: 0 -26px; padding: 14px 26px; display: flex; justify-content: space-between; align-items: center; background: var(--bg); border-radius: 0 0 16px 16px; font-size: 13.5px; color: var(--slate); }
.mega__foot a { font-weight: 600; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.header-search { position: relative; display: flex; align-items: center; }
.header-search input { width: 210px; padding: 10px 38px 10px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); outline: none; transition: all .2s var(--smooth); }
.header-search input:focus { border-color: var(--navy); background: #fff; width: 250px; }
.header-search button { position: absolute; right: 6px; background: none; border: 0; color: var(--slate); cursor: pointer; display: grid; place-items: center; padding: 6px; }
.header-search button:hover { color: var(--orange); }

.cart-link { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 9px; border: 1px solid var(--line); color: var(--navy); }
.cart-link:hover { border-color: var(--navy); color: var(--navy); background: var(--bg); }
.cart-link__count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--orange); color: #fff; font-size: 11.5px; font-weight: 700; display: grid; place-items: center; }
.cart-link__count.is-empty { display: none; }

.nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; }

/* --------------------------------- hero -------------------------------- */

.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #071231 0%, #0A2463 48%, #123a8c 100%); color: #fff; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 18% 20%, rgba(0, 212, 170, .18), transparent 42%), radial-gradient(circle at 82% 72%, rgba(255, 107, 53, .2), transparent 46%); }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 84px 0 92px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .26); border-radius: 100px; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: rgba(255, 255, 255, .9); margin-bottom: 22px; }
.hero__eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(0, 212, 170, .2); }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 span { color: var(--teal); }
.hero__sub { font-size: 17.5px; color: rgba(255, 255, 255, .8); max-width: 560px; margin-bottom: 32px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero__facts { display: flex; gap: 40px; flex-wrap: wrap; }
.hero__fact strong { display: block; font-size: 28px; font-weight: 800; color: #fff; letter-spacing: -.03em; }
.hero__fact span { font-size: 13px; color: rgba(255, 255, 255, .65); text-transform: uppercase; letter-spacing: .09em; }
.hero__visual { position: relative; }
.hero__visual img { border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); border: 1px solid rgba(255, 255, 255, .12); }

/* ------------------------------ trust strip ---------------------------- */

.trust { border-bottom: 1px solid var(--line); background: var(--bg); }
.trust__inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; padding: 24px 0; flex-wrap: wrap; }
.trust__item { display: flex; align-items: center; gap: 12px; font-size: 13.8px; font-weight: 600; color: var(--slate); }
.trust__item svg { color: var(--teal); flex-shrink: 0; }
.trust__item strong { color: var(--navy); font-weight: 700; }

/* ------------------------------- sections ------------------------------ */

.section { padding: 76px 0; }
.section--alt { background: var(--bg); }
.section--tight { padding: 56px 0; }
.section__head { max-width: 700px; margin-bottom: 44px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
.section__head p { color: var(--slate); font-size: 16.5px; margin: 0; }
.section__head h2 { margin-bottom: 14px; }

/* ------------------------------- categories ---------------------------- */

.cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.cat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .22s var(--smooth); display: flex; flex-direction: column; }
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(10, 36, 99, .22); }
.cat__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg); }
.cat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--smooth); }
.cat:hover .cat__media img { transform: scale(1.06); }
.cat__body { padding: 14px 16px 18px; }
.cat__body h3 { font-size: 14.6px; margin-bottom: 5px; }
.cat__body span { font-size: 12.5px; color: var(--slate-light); }

/* ------------------------------ product card --------------------------- */

.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.pgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .22s var(--smooth); }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(10, 36, 99, .2); }
.pcard__media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--bg); overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--smooth); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__flag { position: absolute; top: 12px; left: 12px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 5px; }
.pcard__body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.pcard__cat { font-size: 11.6px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-600); margin-bottom: 8px; }
.pcard__title { font-size: 15.4px; line-height: 1.4; margin-bottom: 8px; }
.pcard__title a { color: var(--ink); }
.pcard__title a:hover { color: var(--orange); }
.pcard__desc { font-size: 13.4px; color: var(--slate); margin-bottom: 14px; flex: 1; }
.pcard__meta { display: flex; gap: 12px; font-size: 12.2px; color: var(--slate-light); padding-bottom: 14px; border-bottom: 1px dashed var(--line); margin-bottom: 14px; }
.pcard__sku { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pcard__price { font-weight: 800; font-size: 18px; color: var(--navy); letter-spacing: -.02em; }
.pcard__price em { display: block; font-style: normal; font-size: 10.5px; font-weight: 600; color: var(--slate-light); text-transform: uppercase; letter-spacing: .1em; }
.pcard__actions { display: flex; gap: 8px; }

/* --------------------------------- misc -------------------------------- */

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: all .22s var(--smooth); }
.feature:hover { border-color: rgba(10, 36, 99, .2); box-shadow: var(--shadow-sm); }
.feature__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(10, 36, 99, .07); color: var(--navy); margin-bottom: 16px; }
.feature__icon--orange { background: rgba(255, 107, 53, .12); color: var(--orange-600); }
.feature__icon--teal { background: rgba(0, 212, 170, .14); color: var(--teal-600); }
.feature h3 { font-size: 16.5px; }
.feature p { color: var(--slate); font-size: 14.4px; margin: 0; }

/* ------------------------------- blog card ----------------------------- */

.bgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.bcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: all .22s var(--smooth); }
.bcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bcard__media { aspect-ratio: 16 / 10; background: var(--navy); overflow: hidden; }
.bcard__media img { width: 100%; height: 100%; object-fit: cover; }
.bcard__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.bcard__date { font-size: 12.4px; color: var(--slate-light); margin-bottom: 8px; }
.bcard__body h3 { font-size: 16.4px; line-height: 1.4; }
.bcard__body h3 a { color: var(--ink); }
.bcard__body h3 a:hover { color: var(--orange); }
.bcard__body p { color: var(--slate); font-size: 14px; flex: 1; }
.bcard__more { font-size: 13.6px; font-weight: 700; color: var(--navy); }

/* --------------------------------- CTA --------------------------------- */

.cta-band { background: linear-gradient(120deg, #0A2463, #12357f 55%, #0d5c8c); color: #fff; border-radius: 20px; padding: 52px; display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, .78); margin: 0; max-width: 620px; }

/* -------------------------------- footer -------------------------------- */

.site-footer { background: #08132e; color: rgba(255, 255, 255, .72); padding: 62px 0 0; margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer__brand { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -.03em; margin-bottom: 12px; }
.footer__note { font-size: 13.8px; color: rgba(255, 255, 255, .6); }
.footer__col h4 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer__col li { margin-bottom: 9px; }
.footer__col a { color: rgba(255, 255, 255, .72); font-size: 14px; }
.footer__col a:hover { color: var(--teal); }
.footer__contact li { display: flex; flex-direction: column; margin-bottom: 12px; }
.footer__contact strong { font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .42); margin-bottom: 2px; }
.footer__contact span, .footer__contact a { font-size: 13.8px; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a { width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 9px; display: grid; place-items: center; color: rgba(255, 255, 255, .8); }
.footer__social a:hover { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .36); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 13px; color: rgba(255, 255, 255, .5); }
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__legal a { color: rgba(255, 255, 255, .5); }

/* -------------------------------- page hero ---------------------------- */

.page-head { background: linear-gradient(120deg, #08132e, #0A2463 60%, #14356f); color: #fff; padding: 54px 0 58px; }
.page-head h1 { color: #fff; margin-bottom: 10px; }
.page-head p { color: rgba(255, 255, 255, .76); max-width: 660px; margin: 0; font-size: 16.4px; }
.breadcrumb { font-size: 13px; color: rgba(255, 255, 255, .58); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255, 255, 255, .78); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb span { color: rgba(255, 255, 255, .42); }

/* ------------------------------- catalogue ----------------------------- */

.catalogue { display: grid; grid-template-columns: 268px 1fr; gap: 34px; align-items: start; padding: 44px 0 76px; }
.filters { position: sticky; top: 100px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.filters h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-light); margin: 0 0 12px; }
.filters__group { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line-soft); }
.filters__group:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.filters__list li { margin-bottom: 2px; }
.filters__list a { display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; border-radius: 7px; font-size: 14px; color: var(--slate); }
.filters__list a:hover { background: var(--bg); color: var(--navy); }
.filters__list a.is-active { background: rgba(10, 36, 99, .08); color: var(--navy); font-weight: 700; }
.filters__list em { font-style: normal; font-size: 12px; color: var(--slate-light); }
.filters__sub { margin: 4px 0 8px 12px; }
.filters__sub a { font-size: 13.2px; padding: 4px 10px; }
.price-inputs { display: flex; gap: 8px; align-items: center; }
.price-inputs input { width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 7px; outline: none; }
.price-inputs input:focus { border-color: var(--navy); }

.toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 22px; }
.toolbar__count { font-size: 14px; color: var(--slate); }
.toolbar__count strong { color: var(--navy); }
.toolbar__spacer { flex: 1; }
.toolbar input[type=search] { padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; min-width: 220px; outline: none; background: var(--bg); }
.toolbar input[type=search]:focus { border-color: var(--navy); background: #fff; }
.toolbar select { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; outline: none; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 12px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--slate); }
.pagination a:hover { border-color: var(--navy); color: var(--navy); }
.pagination .is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination .is-disabled { opacity: .45; pointer-events: none; }

.empty { text-align: center; padding: 70px 20px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--slate); background: var(--bg); }

/* ----------------------------- product detail -------------------------- */

/* 旧版静态页残留：不要让 .pdetail 区块自身变 grid，否则会把 .container 挤进半栏，
   导致整个产品详情页偏左、图片列过窄。布局统一交给下方 .pdetail__grid。 */
.pdetail { padding: 44px 0 20px; }
.gallery__main { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.gallery__main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.gallery__thumb { width: 88px; height: 68px; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; cursor: pointer; background: var(--bg); padding: 0; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active { border-color: var(--navy); box-shadow: 0 0 0 2px rgba(10, 36, 99, .16); }

.pdetail__cat { font-size: 12.4px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-600); }
.pdetail h1 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin: 10px 0 14px; }
.pdetail__sku { font-size: 13.4px; color: var(--slate-light); font-family: ui-monospace, Menlo, monospace; margin-bottom: 18px; }
.pdetail__desc { color: var(--slate); font-size: 15.5px; }
.price-box { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 22px 0; }
.price-box__value { font-size: 32px; font-weight: 800; color: var(--navy); letter-spacing: -.03em; }
.price-box__value em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--slate-light); text-transform: uppercase; letter-spacing: .1em; display: block; }
.price-box__rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); }
.price-box__rows > div { font-size: 13px; color: var(--slate); }
.price-box__rows strong { display: block; color: var(--ink); font-size: 14.4px; }
.buy-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.qty button { width: 40px; height: 46px; background: var(--bg); border: 0; cursor: pointer; font-size: 18px; color: var(--navy); }
.qty button:hover { background: #e9eef7; }
.qty input { width: 62px; height: 46px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; outline: none; font-weight: 700; }
.feature-list li { position: relative; padding-left: 26px; margin-bottom: 9px; font-size: 14.6px; color: var(--slate); }
.feature-list li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.assurance { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 22px; font-size: 13.4px; color: var(--slate); }
.assurance div { display: flex; align-items: center; gap: 8px; }

.tabs { padding: 30px 0 80px; }
.tabs__nav { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 30px; flex-wrap: wrap; }
.tabs__btn { padding: 13px 20px; background: none; border: 0; border-bottom: 3px solid transparent; font-size: 15px; font-weight: 700; color: var(--slate); cursor: pointer; margin-bottom: -1px; }
.tabs__btn:hover { color: var(--navy); }
.tabs__btn.is-active { color: var(--navy); border-bottom-color: var(--orange); }
.tabs__panel { display: none; }
.tabs__panel.is-active { display: block; animation: fadeUp .3s var(--smooth); }

.spec-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-table tr:nth-child(even) { background: var(--bg); }
.spec-table th, .spec-table td { padding: 13px 18px; text-align: left; font-size: 14.4px; border-bottom: 1px solid var(--line-soft); }
.spec-table th { width: 34%; font-weight: 600; color: var(--slate); }
.spec-table td { color: var(--ink); font-weight: 500; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

.dl-list li { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 9px; margin-bottom: 10px; font-size: 14.4px; }
.dl-list svg { color: var(--orange); flex-shrink: 0; }
.dl-list a { margin-left: auto; font-weight: 700; font-size: 13.6px; }

.prose { max-width: 780px; font-size: 16px; color: #2b3550; }
.prose h2 { margin-top: 2em; font-size: 1.4rem; }
.prose h3 { margin-top: 1.6em; font-size: 1.12rem; }
.prose p { margin-bottom: 1.15em; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 1.15em; }
.prose li { margin-bottom: .45em; }
.prose strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 14.6px; }
.prose th, .prose td { padding: 11px 14px; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--bg); font-weight: 700; }
.prose code { background: var(--bg); padding: 2px 6px; border-radius: 5px; font-size: 13.6px; }
.prose pre { background: #08132e; color: #dbe6ff; padding: 18px; border-radius: 10px; overflow: auto; font-size: 13.6px; }

/* --------------------------- about / timeline -------------------------- */

.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; }
.stat strong { display: block; font-size: 30px; font-weight: 800; color: var(--navy); letter-spacing: -.03em; }
.stat span { font-size: 13px; color: var(--slate); }

.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--orange), var(--teal)); }
.timeline__item { position: relative; padding-bottom: 30px; }
.timeline__item::before { content: ""; position: absolute; left: -34px; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--navy); }
.timeline__year { font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--orange); }
.timeline__item h3 { margin: 4px 0 4px; font-size: 16.6px; }
.timeline__item span { font-size: 13.4px; color: var(--slate-light); }
.timeline__item p { margin: 8px 0 0; color: var(--slate); font-size: 14.4px; }

.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; }
.cert__badge { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 212, 170, .13); color: var(--teal-600); }
.cert h3 { font-size: 16px; margin-bottom: 4px; }
.cert span { font-size: 12.8px; color: var(--slate-light); display: block; margin-bottom: 10px; }
.cert p { font-size: 13.6px; color: var(--slate); margin: 0; }

/* -------------------------------- contact ------------------------------ */

.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: start; padding: 52px 0 80px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.card--flat { box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.4px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field label em { color: var(--orange); font-style: normal; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; outline: none; background: #fff; transition: border-color .2s var(--smooth), box-shadow .2s var(--smooth); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(10, 36, 99, .1); }
.field textarea { min-height: 140px; resize: vertical; }
.field__hint { font-size: 12.4px; color: var(--slate-light); margin-top: 5px; }

.info-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.info-list li:last-child { border-bottom: 0; }
.info-list svg { color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.info-list strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--slate-light); }
.info-list span, .info-list a { font-size: 14.6px; }

/* --------------------------------- cart -------------------------------- */

.cart-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: 34px; align-items: start; padding: 44px 0 80px; }
.cart-table { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cart-row { display: grid; grid-template-columns: 96px 1fr auto auto auto; gap: 18px; align-items: center; padding: 18px; border-bottom: 1px solid var(--line-soft); }
.cart-row:last-child { border-bottom: 0; }
.cart-row__img { width: 96px; height: 74px; border-radius: 8px; overflow: hidden; background: var(--bg); border: 1px solid var(--line-soft); }
.cart-row__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-row__name { font-weight: 600; font-size: 14.8px; }
.cart-row__name a { color: var(--ink); }
.cart-row__name em { display: block; font-style: normal; font-size: 12.4px; color: var(--slate-light); font-family: ui-monospace, Menlo, monospace; }
.cart-row__price { font-weight: 700; color: var(--navy); min-width: 92px; text-align: right; }
.cart-row__remove { background: none; border: 0; color: var(--slate-light); cursor: pointer; padding: 6px; }
.cart-row__remove:hover { color: #d33; }
.summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: sticky; top: 100px; }
.summary h3 { font-size: 17px; margin-bottom: 18px; }
.summary__row { display: flex; justify-content: space-between; padding: 11px 0; font-size: 14.6px; color: var(--slate); border-bottom: 1px dashed var(--line); }
.summary__row--total { border-bottom: 0; padding-top: 16px; font-size: 19px; font-weight: 800; color: var(--navy); }
.summary .btn { margin-top: 18px; }
summary-note { display: block; }
.trust-note { font-size: 12.8px; color: var(--slate-light); text-align: center; margin-top: 14px; }

/* ------------------------------- toast --------------------------------- */

.toast-box { position: fixed; right: 24px; bottom: 24px; z-index: 300; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--navy); color: #fff; padding: 13px 20px; border-radius: 9px; font-size: 14.4px; font-weight: 600; box-shadow: var(--shadow-lg); animation: fadeUp .25s var(--smooth); }
.toast--success { background: #0f7a5f; }
.toast--error { background: #b3261e; }
.toast.is-out { opacity: 0; transform: translateY(8px); transition: all .45s var(--smooth); }

/* ------------------------------ animations ----------------------------- */

.reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-visible { opacity: 1; transform: none; transition: opacity .55s var(--smooth), transform .55s var(--smooth); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ------------------------------ responsive ----------------------------- */

@media (max-width: 1120px) {
  .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .mega { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .header-search { display: none; }
  .header-quote { display: none; }
  .nav-toggle { display: flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 20px 22px; box-shadow: var(--shadow); display: none; }
  .nav.is-open { display: flex; }
  .nav__link { padding: 13px 10px; }
  .mega { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; padding: 8px 0 0; grid-template-columns: repeat(2, minmax(0, 1fr)); display: none; }
  .nav__item--mega.is-open .mega { display: grid; }
  .mega__foot { display: none; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; padding: 58px 0 66px; }
  .about-grid, .contact-grid, .cart-layout, .pdetail { grid-template-columns: 1fr; gap: 32px; }
  .catalogue { grid-template-columns: 1fr; }
  .filters { position: static; }
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature-grid, .bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 15px; }
  .container { padding: 0 18px; }
  .cats, .pgrid, .pgrid--3, .feature-grid, .bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 54px 0; }
  .cta-band { padding: 34px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 74px 1fr; grid-template-areas: "img name" "img price"; row-gap: 8px; }
  .cart-row__img { grid-area: img; width: 74px; height: 62px; }
  .cart-row__name { grid-area: name; }
  .cart-row__price { grid-area: price; text-align: left; }
  .cart-row .qty { grid-column: 2; }
  .cart-row__remove { grid-column: 2; justify-self: start; }
  .topbar__hours, .topbar__spacer + .topbar__item { display: none; }
  .price-box__rows { grid-template-columns: 1fr; }
  .hero__facts { gap: 24px; }
  .cert-grid, .stats { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .cats, .pgrid { grid-template-columns: 1fr; }
}

/* ============================================================
   Reviews + social sharing (added for the B2B sales workflow)
   ============================================================ */

/* ------------------------------- stars ---------------------------- */

.stars { display: inline-flex; align-items: center; gap: 2px; vertical-align: middle; }
.stars .star { fill: #d7dfec; }
.stars .star.is-full { fill: #f7a33c; }
.stars .star.is-half { fill: #f7a33c; opacity: .55; }
.stars--sm svg { width: 14px; height: 14px; }

/* ------------------------------ share ----------------------------- */

.share { margin-top: 22px; }
.share__label {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--slate-light); margin-bottom: 10px;
}
.share__row { display: flex; flex-wrap: wrap; gap: 8px; }
.share__btn {
  width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center;
  border: 1px solid var(--line); background: var(--white); color: var(--slate);
  cursor: pointer; padding: 0; transition: transform .16s var(--smooth), box-shadow .16s var(--smooth), background .16s;
}
.share__btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); color: var(--white); border-color: transparent; }
.share--facebook:hover { background: #1877f2; }
.share--x:hover { background: #0f1419; }
.share--linkedin:hover { background: #0a66c2; }
.share--whatsapp:hover { background: #25d366; }
.share--telegram:hover { background: #229ed9; }
.share--pinterest:hover { background: #e60023; }
.share--mail:hover { background: var(--navy); }
.share--copy:hover { background: var(--teal-600); }
.share--native:hover { background: var(--orange); }

.article-share { margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }

/* --------------------- rating line on product page ---------------- */

.pdetail__rating { display: flex; align-items: center; gap: 9px; margin: 10px 0 4px; flex-wrap: wrap; }
.pdetail__rating strong { font-size: 15px; color: var(--ink); }
.pdetail__ratecount { font-size: 13.5px; color: var(--slate-light); }
.pdetail__ratelink { font-size: 13.5px; font-weight: 600; color: var(--orange); text-decoration: none; }
.pdetail__ratelink:hover { text-decoration: underline; }
.pdetail__share { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }

/* --------------------- rating line on product cards --------------- */

.pcard__rating { display: flex; align-items: center; gap: 6px; margin: 2px 0 8px; font-size: 12.5px; color: var(--slate-light); }

/* ------------------------------ reviews --------------------------- */

.reviews { display: grid; grid-template-columns: 320px 1fr; gap: 34px; align-items: start; }

.rsummary {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); position: sticky; top: 22px;
}
.rsummary__score { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.rsummary__score strong { font-size: 42px; line-height: 1; font-weight: 800; color: var(--navy); letter-spacing: -.03em; }
.rsummary__count { display: block; font-size: 12.8px; color: var(--slate-light); margin-top: 3px; }
.rsummary__bars { padding: 16px 0 18px; display: grid; gap: 7px; }
.rbar { display: grid; grid-template-columns: 54px 1fr 26px; align-items: center; gap: 10px; font-size: 12.6px; color: var(--slate); }
.rbar__star { white-space: nowrap; }
.rbar__track { height: 7px; border-radius: 4px; background: var(--line-soft); overflow: hidden; }
.rbar__fill { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #f7a33c, #ffc46b); }
.rbar__count { text-align: right; color: var(--slate-light); }
.rsummary .btn { width: 100%; }
.rsummary__note { font-size: 12.2px; color: var(--slate-light); margin: 12px 0 0; line-height: 1.55; }

.reviews__list { display: grid; gap: 18px; }

.review {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-sm);
}
.review__head { display: flex; align-items: center; gap: 13px; }
.review__avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-600)); color: var(--white); font-weight: 700; font-size: 16px;
}
.review__who { min-width: 0; }
.review__who strong { display: block; font-size: 14.8px; color: var(--ink); }
.review__who span { font-size: 12.8px; color: var(--slate-light); }
.review__stars { margin-left: auto; }
.review__title { font-size: 15.6px; margin: 14px 0 6px; color: var(--ink); }
.review__body { margin: 0; font-size: 14.6px; color: var(--slate); }
.review__reply {
  margin-top: 14px; padding: 13px 16px; border-radius: var(--radius-sm);
  background: var(--bg); border-left: 3px solid var(--teal);
}
.review__reply strong { display: block; font-size: 12.4px; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-600); margin-bottom: 5px; }
.review__reply p { margin: 0; font-size: 14px; color: var(--slate); }
.review__foot { display: flex; align-items: center; gap: 12px; margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--line-soft); }
.review__badge {
  font-size: 11.6px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--teal-600); background: rgba(0, 212, 170, .1); padding: 3px 9px; border-radius: 20px;
}
.review__date { font-size: 12.6px; color: var(--slate-light); margin-left: auto; }

/* --------------------------- review form -------------------------- */

.review-form { padding: 26px; }
.review-form h3 { margin: 0 0 6px; font-size: 18px; }
.review-form__lead { margin: 0 0 20px; font-size: 14px; color: var(--slate); }
.review-form__hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.review-form__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.review-form__note { font-size: 12.6px; color: var(--slate-light); }
.review-thanks {
  background: rgba(0, 212, 170, .1); border: 1px solid rgba(0, 212, 170, .35);
  border-radius: var(--radius); padding: 16px 20px; font-size: 14.4px; color: #0a7f66;
}

.rate-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rate-input input { position: absolute; opacity: 0; pointer-events: none; }
.rate-input label { cursor: pointer; line-height: 0; }
.rate-input label svg { fill: #d7dfec; transition: fill .15s, transform .15s; }
.rate-input label:hover svg { transform: scale(1.08); }
.rate-input input:checked ~ label svg,
.rate-input label:hover svg,
.rate-input label:hover ~ label svg { fill: #f7a33c; }
.rate-input input:focus-visible + label svg { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 3px; }

@media (max-width: 1020px) {
  .reviews { grid-template-columns: 1fr; }
  .rsummary { position: static; }
}

@media (max-width: 640px) {
  .review__head { flex-wrap: wrap; }
  .review__stars { margin-left: 0; width: 100%; }
  .review-form { padding: 20px; }
}

/* ============================================================
   WordPress 主题补充样式
   （沿用上面的设计系统变量：navy / orange / teal / line / bg）
   ============================================================ */

/* ---------- 无障碍与工具类 ---------- */

.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;
}
.skip-link:focus {
  position: fixed; top: 10px; left: 10px; z-index: 999;
  width: auto; height: auto; clip: auto; padding: 10px 16px;
  background: var(--navy); color: #fff; border-radius: 8px; font-weight: 600;
}

.container--narrow { max-width: 860px; }
.section--flush-top { padding-top: 34px; }
.section__head--flex { display: flex; justify-content: space-between; align-items: flex-end; max-width: none; gap: 24px; flex-wrap: wrap; }

.btn--xs { padding: 6px 11px; font-size: 12.4px; border-radius: 6px; }
.btn--danger { background: #fff; border-color: #f0c4c4; color: #c0272d; }
.btn--danger:hover { background: #c0272d; border-color: #c0272d; color: #fff; }

.lead { font-size: 18px; color: var(--slate); }

/* ---------- 面包屑 ---------- */

.crumbs { background: var(--bg); border-bottom: 1px solid var(--line-soft); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 14px 0; font-size: 13px; color: var(--slate-light); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--line); }
.crumbs a { color: var(--slate); }
.crumbs a:hover { color: var(--orange); }
.crumbs span { color: var(--ink); font-weight: 600; }

/* ---------- 页头 ---------- */

.page-head { padding: 56px 0 40px; background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); border-bottom: 1px solid var(--line-soft); }
.page-head--hero { background: linear-gradient(135deg, #071231 0%, var(--navy) 55%, #123a8c 100%); border-bottom: 0; }
.page-head--hero h1, .page-head--hero .page-head__sub { color: #fff; }
.page-head--hero .section__eyebrow { color: var(--teal); }
.page-head__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
/* 修复：基础区块把 .page-head 定义为深色底白字（.page-head h1 { color:#fff }），
   这里改为浅色底后必须把 h1 颜色改回深色，否则标题"白字白底"不可见。 */
.page-head h1 { margin-bottom: 10px; color: var(--navy); }
.page-head__sub { color: var(--slate); font-size: 16.4px; max-width: 640px; margin: 0; }
.page-head__count { text-align: right; }
.page-head__count strong { display: block; font-size: 30px; font-weight: 800; color: var(--navy); letter-spacing: -.03em; }
.page-head__count span { font-size: 12.6px; text-transform: uppercase; letter-spacing: .1em; color: var(--slate-light); }
.page-head__stats { display: flex; gap: 34px; flex-wrap: wrap; }
.page-head__stat strong { display: block; font-size: 26px; font-weight: 800; color: #fff; }
.page-head__stat span { font-size: 12.4px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.65); }

/* ---------- 筛选栏 ---------- */

.filterbar {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; margin-bottom: 28px; box-shadow: var(--shadow-sm);
}
.filterbar__field { display: flex; flex-direction: column; gap: 5px; min-width: 176px; }
.filterbar__field label { font-size: 11.8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-light); }
.filterbar__field select {
  padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--ink); outline: none;
}
.filterbar__field select:focus { border-color: var(--navy); background: #fff; }
.filterbar__search { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.filterbar__search input {
  width: 230px; padding: 10px 14px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--bg); outline: none;
}
.filterbar__search input:focus { border-color: var(--navy); background: #fff; }
.filterbar__reset { font-size: 13.4px; color: var(--slate); }

/* ---------- 空状态 ---------- */

.empty-block {
  text-align: center; padding: 66px 24px; background: #fff;
  border: 1px dashed var(--line); border-radius: var(--radius);
}
.empty-block--lg { padding: 80px 24px; }
.empty-block svg { color: var(--slate-light); margin-bottom: 12px; }
.empty-block h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.empty-block h3 { margin-bottom: 8px; }
.empty-block p { color: var(--slate); max-width: 520px; margin: 0 auto 20px; }
.empty-block__code { display: block; font-size: 74px; font-weight: 800; color: var(--line); letter-spacing: -.04em; line-height: 1; }
.empty-block__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.empty-block__search form { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.empty-block__search input { padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); min-width: 260px; }

.loading-block { padding: 48px; text-align: center; color: var(--slate-light); }

/* ---------- 分类占位 ---------- */

.cat__ph {
  display: grid; place-items: center; width: 100%; height: 100%;
  font-size: 26px; font-weight: 800; color: var(--navy); letter-spacing: -.02em;
  background: linear-gradient(135deg, #eef3fc, #f7f9fd);
}

/* ---------- 首页 Hero 参数面板 ---------- */

.hero__panel {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px; padding: 26px 28px; backdrop-filter: blur(6px);
}
.hero__panel-row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.hero__panel-row:last-child { border-bottom: 0; }
.hero__panel-k { font-size: 12.6px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.62); }
.hero__panel-v { font-weight: 700; color: #fff; }

.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 产品详情 ---------- */

.pdetail { padding: 46px 0 10px; }
/* 上下对齐：左图列与右信息列等高（grid 拉伸 + 图片 flex:1 填满），两栏顶边/底边对齐。 */
.pdetail__grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 54px; align-items: stretch; }
.pdetail__media { position: sticky; top: 96px; display: flex; flex-direction: column; }
.pdetail__main { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg); flex: 1 1 auto; min-height: 380px; }
/* contain：高容器里完整显示产品图并居中，不再放大裁切导致内容偏移。 */
.pdetail__main img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.pdetail__flag { position: absolute; top: 14px; left: 14px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 5px; }
.pdetail__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pdetail__thumb { width: 74px; height: 74px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--bg); cursor: pointer; }
.pdetail__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdetail__thumb.is-active { border-color: var(--navy); box-shadow: 0 0 0 2px rgba(10,36,99,.14); }
.pdetail__cat { display: inline-block; font-size: 11.8px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-600); margin-bottom: 10px; }
.pdetail__lede { font-size: 16.6px; color: var(--slate); }
.pdetail__lede--rich p { margin: 0 0 8px; }
.pdetail__lede--rich ul, .pdetail__lede--rich ol { margin: 0 0 8px 20px; }
.pdetail__lede--rich li { margin: 3px 0; }
.pdetail__lede--rich strong { color: var(--ink); }
.pdetail__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 22px 0; }
.pdetail__fact { background: var(--bg); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 12px 14px; }
.pdetail__fact span { display: block; font-size: 11.6px; text-transform: uppercase; letter-spacing: .09em; color: var(--slate-light); margin-bottom: 3px; }
.pdetail__fact strong { color: var(--ink); font-size: 14.6px; }
.pdetail__fact strong.is-in_stock { color: var(--teal-600); }
.pdetail__fact strong.is-out_of_stock { color: #c0272d; }
.pdetail__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 16px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); margin-bottom: 22px; }
.pdetail__price-label { font-size: 12.4px; text-transform: uppercase; letter-spacing: .1em; color: var(--slate-light); }
.pdetail__price strong { font-size: 27px; font-weight: 800; color: var(--navy); letter-spacing: -.03em; }
.pdetail__price-note { font-size: 12.8px; color: var(--slate-light); }
.pdetail__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.pdetail__downloads { margin-top: 20px; }
.pdetail__downloads-title { display: block; font-size: 11.8px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-light); margin-bottom: 9px; }
.dl { display: inline-flex; align-items: center; gap: 7px; font-size: 13.6px; font-weight: 600; margin-right: 14px; }

.pdetail__body { padding-top: 20px; }
.pdetail__tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 26px; flex-wrap: wrap; }
.pdetail__tab {
  background: none; border: 0; border-bottom: 2px solid transparent; padding: 12px 18px;
  font-size: 15px; font-weight: 600; color: var(--slate); cursor: pointer;
}
.pdetail__tab:hover { color: var(--navy); }
.pdetail__tab.is-active { color: var(--navy); border-bottom-color: var(--orange); }
.pdetail__tab-count { display: inline-block; margin-left: 6px; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 0 7px; font-size: 11.6px; }
.pdetail__panel { display: none; }
.pdetail__panel.is-active { display: block; }
.pdetail__cols { display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; align-items: start; }
.pdetail__prose { font-size: 15.8px; color: var(--slate); }
/* Word 式粘贴排版：标题行粗体大字，正文段落保持小一号，层级分明。 */
.pdetail__prose h1 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); font-weight: 800; color: var(--ink); margin: 30px 0 14px; }
.pdetail__prose h2 { font-size: clamp(1.4rem, 2.1vw, 1.7rem); font-weight: 800; color: var(--ink); margin: 30px 0 14px; }
.pdetail__prose h3 { font-size: 1.28rem; font-weight: 800; color: var(--ink); margin: 26px 0 12px; }
.pdetail__prose h4 { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin: 22px 0 10px; }
.pdetail__prose p { margin-bottom: 1em; }
.pdetail__prose strong { color: var(--ink); }
/* Word 修订 / 删除线残留：产品描述里出现时前台按正常文字显示，避免排版跑偏。 */
.pdetail__prose s, .pdetail__prose del { text-decoration: none; color: inherit; }
.pdetail__prose ul { list-style: disc; padding-left: 20px; margin-bottom: 1em; }
.pdetail__prose li { margin-bottom: 6px; }

.sidebox { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 18px; }
.sidebox h3 { font-size: 14.6px; margin-bottom: 12px; }
.sidebox--muted { background: var(--bg); }
.sidebox__note { font-size: 12.4px; color: var(--slate-light); margin: 12px 0 0; }

.ticklist li { position: relative; padding-left: 24px; margin-bottom: 9px; font-size: 14.4px; color: var(--slate); }
.ticklist li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 13px; height: 7px;
  border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg);
}
.ticklist--teal li::before { border-color: var(--teal-600); }

.speclist { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.speclist__row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; padding: 13px 18px; border-bottom: 1px solid var(--line-soft); font-size: 14.6px; }
.speclist__row:last-child { border-bottom: 0; }
.speclist__row:nth-child(odd) { background: var(--bg); }
.speclist__row span { color: var(--slate); }
.speclist__row strong { color: var(--ink); }

/* ---------- 评价补充 ---------- */

.reviews { display: grid; grid-template-columns: 320px 1fr; gap: 30px; align-items: start; }
.review__meta { font-size: 12.8px; color: var(--slate-light); }
.review__reply-label { display: block; font-size: 12.4px; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-600); margin-bottom: 5px; }
.review__foot time { margin-left: auto; font-size: 12.6px; color: var(--slate-light); }

.review-form { margin-top: 34px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow-sm); }
.review-form h3 { font-size: 18px; }
.review-form__note { font-size: 13.4px; color: var(--slate-light); }
.review-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.review-form__foot { display: flex; gap: 12px; align-items: center; }

.rate-input { display: inline-flex; flex-direction: row-reverse; gap: 3px; }
.rate-input input { position: absolute; opacity: 0; width: 0; height: 0; }
.rate-input label { cursor: pointer; color: var(--line); line-height: 0; transition: color .15s var(--smooth), transform .15s var(--smooth); }
.rate-input label svg { fill: currentColor; }
.rate-input input:checked ~ label,
.rate-input label:hover,
.rate-input label:hover ~ label { color: #f7a33c; }
.rate-input label:hover { transform: scale(1.1); }

.hp-field { position: absolute !important; left: -9999px !important; opacity: 0; }

/* ---------- 表单 ---------- */

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12.4px; font-weight: 700; letter-spacing: .04em; color: var(--slate); }
.field input[type="text"], .field input[type="email"], .field input[type="url"],
.field input[type="number"], .field textarea, .field select {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--bg); outline: none; transition: all .18s var(--smooth);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--navy); background: #fff; }
.field textarea { resize: vertical; min-height: 90px; }
.field--full { grid-column: 1 / -1; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.form-msg { margin-top: 14px; padding: 12px 15px; border-radius: var(--radius-sm); font-size: 14.2px; }
.form-msg--ok { background: rgba(0,212,170,.12); border: 1px solid rgba(0,212,170,.35); color: #05705c; }
.form-msg--err { background: rgba(255,107,53,.1); border: 1px solid rgba(255,107,53,.32); color: #b8400f; }

/* ---------- 联系 / 询价页 ---------- */

.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 32px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px; box-shadow: var(--shadow-sm); }
.contact-card h2 { font-size: 21px; }
.contact-card__note { font-size: 13.4px; color: var(--slate-light); margin-bottom: 20px; }
.prefill { display: flex; align-items: center; gap: 9px; background: var(--bg); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 11px 14px; margin-bottom: 18px; font-size: 14px; color: var(--slate); }
.prefill svg { color: var(--teal-600); flex-shrink: 0; }
.inquiry-form { display: grid; gap: 16px; }
.inquiry-form__foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.inquiry-form__hint { font-size: 12.8px; color: var(--slate-light); }

.contact-list li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list svg { color: var(--teal-600); flex-shrink: 0; margin-top: 3px; }
.contact-list span { display: block; font-size: 11.8px; text-transform: uppercase; letter-spacing: .08em; color: var(--slate-light); }
.contact-list strong, .contact-list a { font-size: 14.4px; }

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.steps li { position: relative; padding-left: 34px; margin-bottom: 12px; font-size: 14.2px; color: var(--slate); counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 22px; height: 22px;
  border-radius: 50%; background: var(--navy); color: #fff; font-size: 11.6px; font-weight: 700;
  display: grid; place-items: center;
}

/* ---------- 询价单页面 ---------- */

.rfq-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: start; }
.rfq-table { width: 100%; border-collapse: collapse; }
.rfq-table th { text-align: left; font-size: 11.8px; text-transform: uppercase; letter-spacing: .08em; color: var(--slate-light); padding: 12px 16px; border-bottom: 1px solid var(--line); }
.rfq-table td { padding: 15px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.rfq-table__product strong { display: block; font-size: 14.6px; }
.rfq-table__sku { font-size: 12.4px; color: var(--slate-light); }
.rfq-table__qty input { width: 84px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.rfq-table__actions { text-align: right; white-space: nowrap; }
.rfq-form { display: grid; gap: 13px; margin-top: 14px; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--line-soft); }
.card__head h2 { font-size: 16.6px; margin: 0; }
.card__count { font-size: 12.8px; color: var(--slate-light); }
.card__foot { padding: 14px 20px; border-top: 1px solid var(--line-soft); background: var(--bg); }
.table-wrap { overflow-x: auto; }

/* ---------- 文章 ---------- */

.article__head { padding: 54px 0 26px; }
.article__head h1 { margin-bottom: 14px; }
.article__eyebrow { display: inline-block; font-size: 12.4px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
.article__meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13.4px; color: var(--slate-light); }
.article__cover { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-bottom: 34px; }
.article__cover img { width: 100%; height: auto; }
.article__body { font-size: 16.4px; color: #2b3448; }
.article__body h2 { margin-top: 36px; }
.article__body h3 { margin-top: 26px; }
.article__body ul, .article__body ol { padding-left: 22px; margin-bottom: 1.1em; }
.article__body ul { list-style: disc; }
.article__body ol { list-style: decimal; }
.article__body li { margin-bottom: 7px; }
.article__body blockquote { border-left: 3px solid var(--orange); background: var(--bg); margin: 24px 0; padding: 16px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--slate); }
.article__body img { border-radius: var(--radius-sm); }
.article__body code { background: var(--bg); border: 1px solid var(--line-soft); border-radius: 4px; padding: 1px 5px; font-size: 14px; }
.article__body table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.article__body th, .article__body td { border: 1px solid var(--line); padding: 10px 13px; text-align: left; }
.article__share { margin: 34px 0; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.article__tags { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 30px; }
.article__tags a { font-size: 13px; background: var(--bg); border: 1px solid var(--line-soft); border-radius: 20px; padding: 4px 12px; color: var(--slate); }
.article__tags a:hover { border-color: var(--navy); color: var(--navy); }

.postnav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.postnav__item { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.postnav__item:hover { border-color: var(--navy); }
.postnav__item span { display: block; font-size: 11.8px; text-transform: uppercase; letter-spacing: .09em; color: var(--slate-light); margin-bottom: 6px; }
.postnav__item strong { font-size: 15px; }
.postnav__item--next { text-align: right; }

/* ---------- 关于我们 ---------- */

.article__body .mission-box, .mission-box {
  background: var(--bg); border-left: 3px solid var(--teal); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px; margin-top: 26px;
}
.mission-box__label { display: block; font-size: 11.8px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-600); margin-bottom: 7px; }
.mission-box p { margin: 0; color: var(--slate); }

.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline__item { position: relative; padding-bottom: 30px; }
.timeline__item::before { content: ""; position: absolute; left: -26px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,107,53,.16); }
.timeline__year { display: inline-block; font-size: 12.6px; font-weight: 800; letter-spacing: .06em; color: var(--orange); margin-bottom: 5px; }
.timeline__body h3 { font-size: 17px; margin-bottom: 4px; }
.timeline__sub { display: block; font-size: 13.4px; color: var(--slate-light); margin-bottom: 8px; }
.timeline__body div { color: var(--slate); font-size: 15px; }

.capgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.capcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: all .22s var(--smooth); }
.capcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.capcard__icon { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: rgba(10,36,99,.06); color: var(--navy); margin-bottom: 14px; }
.capcard h3 { font-size: 16px; }
.capcard__text { color: var(--slate); font-size: 14.4px; }
.capcard__text p { margin: 0; }

.certgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.certcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; }
.certcard__icon { width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,212,170,.12); color: var(--teal-600); }
.certcard h3 { font-size: 15.4px; margin-bottom: 4px; }
.certcard__sub { display: block; font-size: 12.4px; color: var(--slate-light); margin-bottom: 9px; }
.certcard__text { font-size: 13.8px; color: var(--slate); }
.certcard__text p { margin: 0; }

/* ---------- 博客网格加宽 ---------- */

.bgrid--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bcard__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.bcard__date { font-size: 12.4px; color: var(--slate-light); }
.bcard__cat { font-size: 11.6px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-600); }

/* ---------- 分页 ---------- */

.pager-nav { padding: 10px 0 48px; }
.pager { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pager .page-numbers {
  min-width: 42px; height: 42px; padding: 0 13px; display: inline-grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  color: var(--ink); font-weight: 600; font-size: 14.4px;
}
.pager .page-numbers:hover { border-color: var(--navy); color: var(--navy); }
.pager .page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager .page-numbers.dots { border-color: transparent; background: none; }

/* ---------- 提示条 ---------- */

.toast-box { position: fixed; right: 22px; bottom: 22px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--ink); color: #fff; padding: 13px 18px; border-radius: var(--radius-sm);
  font-size: 14.2px; box-shadow: var(--shadow-lg); opacity: 1; transform: translateY(0);
  transition: opacity .3s var(--smooth), transform .3s var(--smooth); max-width: 330px;
}
.toast--success { background: #05705c; }
.toast--error { background: #b8400f; }
.toast--info { background: var(--navy); }
.toast.is-out { opacity: 0; transform: translateY(10px); }

/* ---------- 询价单入口 ---------- */

.rfq-link {
  position: relative; display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 9px; border: 1px solid var(--line); color: var(--navy);
}
.rfq-link:hover { border-color: var(--navy); background: var(--bg); color: var(--navy); }
.rfq-link__count {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--orange); color: #fff; font-size: 11.5px; font-weight: 700;
  display: grid; place-items: center;
}
.rfq-link__count.is-empty { display: none; }

/* ---------- 滚动出现动画 ---------- */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--smooth), transform .6s var(--smooth); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */

@media (max-width: 1080px) {
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pdetail__grid { grid-template-columns: 1fr; gap: 34px; }
  .pdetail__media { position: static; display: block; }
  .pdetail__main { flex: none; min-height: 0; aspect-ratio: 4 / 3; }
  .pdetail__cols { grid-template-columns: 1fr; gap: 28px; }
  .reviews { grid-template-columns: 1fr; }
  .rfq-wrap, .contact-grid { grid-template-columns: 1fr; }
  .capgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .certgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .filterbar { flex-direction: column; align-items: stretch; }
  .filterbar__search { margin-left: 0; }
  .filterbar__search input { width: 100%; }
  .bgrid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .postnav { grid-template-columns: 1fr; }
  .postnav__item--next { text-align: left; }
  .field-row { grid-template-columns: 1fr; }
  .review-form__grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bgrid, .bgrid--wide { grid-template-columns: 1fr; }
  .capgrid, .certgrid { grid-template-columns: 1fr; }
  .page-head__inner { flex-direction: column; align-items: flex-start; }
  .page-head__count { text-align: left; }
  .empty-block__code { font-size: 56px; }
}

@media (max-width: 520px) {
  .cats, .pgrid { grid-template-columns: 1fr; }
  .toast-box { left: 16px; right: 16px; bottom: 16px; }
  .toast { max-width: none; }
}
