:root {
  --navy: #071f43;
  --blue: #0076df;
  --blue-2: #00aee8;
  --orange: #ff7900;
  --orange-dark: #e75c00;
  --red: #ec2046;
  --ink: #15243a;
  --muted: #60738a;
  --line: #d8e4ef;
  --soft: #f1f7fc;
  --paper: #fff;
  --shadow: 0 20px 52px rgba(8, 48, 91, .14);
  --shell: min(1820px, calc(100vw - 64px));
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #fff; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }
.is-hidden { display: none !important; }

.brand-stripe {
  height: 5px;
  background: linear-gradient(90deg, var(--blue) 0 58%, #f5a400 58% 78%, #d62531 78%);
}

.site-header {
  position: sticky;
  /* 高于移动端菜单遮罩(z80)：菜单面板是 header 的子节点，header 层级低于遮罩时面板会被盖住点不到 */
  z-index: 90;
  top: 0;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-main {
  width: var(--shell);
  min-height: 86px;
  margin: auto;
  display: grid;
  grid-template-columns: 248px minmax(420px, 1fr) minmax(300px, 390px) auto;
  align-items: center;
  gap: 28px;
}

.site-logo { display: flex; align-items: center; gap: 12px; min-width: 0; }
.site-logo img { width: 49px; height: 49px; object-fit: cover; border-radius: 2px; }
.site-logo span { min-width: 0; }
.site-logo strong, .site-logo small { display: block; white-space: nowrap; }
.site-logo strong { color: var(--navy); font-size: 22px; letter-spacing: .04em; }
.site-logo small { margin-top: 3px; color: #7b8898; font-size: 9px; letter-spacing: .15em; }
.desktop-nav { display: flex; justify-content: center; gap: clamp(20px, 2.1vw, 42px); height: 100%; }
.desktop-nav a {
  display: flex;
  align-items: center;
  position: relative;
  color: #37475a;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transition: .2s ease;
}
.desktop-nav a:hover, .desktop-nav a.is-active { color: var(--blue); }
.desktop-nav a:hover::after, .desktop-nav a.is-active::after { transform: scaleX(1); }

.site-search {
  height: 46px;
  border: 1px solid #d6dfe8;
  background: #f6f8fa;
  border-radius: 14px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.site-search::before { content: "⌕"; padding-left: 16px; font-size: 28px; color: var(--navy); line-height: 1; transform: rotate(-18deg); }
.site-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; padding: 0 12px; color: var(--ink); }
.site-search button { border: 0; align-self: stretch; padding: 0 16px; background: var(--navy); color: #fff; cursor: pointer; }

.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; white-space: nowrap; }
.header-action {
  min-height: 44px;
  padding: 0 11px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 10px;
}
.header-action:hover, .header-action.is-active { background: #f0f5f8; color: var(--blue); }
.header-action__icon { font-size: 22px; font-weight: 400; line-height: 1; }
.cart-action { position: relative; }
.cart-badge {
  position: absolute;
  top: 1px;
  left: 29px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.menu-toggle { display: none; border: 0; background: transparent; font-size: 25px; }
/* 移动端短文案/仅移动端展示的文案，桌面默认隐藏，由 ≤800px 媒体查询切换 */
.label-sm, .header-action__label--mobile { display: none; }
.header-login .header-action__icon { display: none; }

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(430px, .78fr) 1.3fr 230px;
  gap: 28px;
  align-items: center;
  padding-block: 54px;
}
.eyebrow {
  display: block;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.eyebrow--light { color: #7fd5ff; }
.hero h1, .about-hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(48px, 4.5vw, 82px);
  line-height: 1.08;
  letter-spacing: -.055em;
}
.hero h1 em { color: var(--orange); font-style: normal; }
.hero__copy > p { max-width: 630px; margin: 28px 0; color: var(--muted); font-size: 18px; line-height: 1.85; }
.hero__actions { display: flex; gap: 12px; }
.button {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--orange); color: #fff; }
.button--primary:hover { background: var(--orange-dark); }
.button--ghost { background: #fff; border-color: #d8e0e7; color: var(--navy); }
.button--dark { background: var(--navy); color: #fff; }
.button--white { background: #fff; color: var(--navy); }
.button--wide { width: 100%; }

.hero__visual {
  position: relative;
  height: 510px;
  border-radius: 26px;
  overflow: hidden;
  background: var(--soft);
  box-shadow: var(--shadow);
}
.hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(1,19,42,.26), transparent 52%);
}
.hero__visual img { width: 100%; height: 100%; object-fit: cover; object-position: 32% center; }
.hero__visual-caption {
  position: absolute;
  z-index: 2;
  left: 28px;
  bottom: 28px;
  padding: 20px 24px;
  border-radius: 14px;
  color: #fff;
  background: rgba(5,32,61,.88);
  backdrop-filter: blur(8px);
}
.hero__visual-caption strong, .hero__visual-caption span { display: block; }
.hero__visual-caption strong { font-size: 20px; margin-bottom: 5px; }
.hero__visual-caption span { color: #c9dae9; }
.hero__stats { display: grid; gap: 14px; }
.hero__stats article {
  padding: 27px 23px;
  border: 1px solid #e0e6ec;
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 28px rgba(24,47,74,.08);
}
.hero__stats strong { display: block; margin-bottom: 6px; color: var(--orange); font-size: 34px; }
.hero__stats span { color: #526175; font-size: 14px; }

.feature-band {
  min-height: 400px;
  border-radius: 26px;
  padding: clamp(36px, 5vw, 74px);
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 48px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(120deg, #061528, #082e53 70%, #006aa8);
}
.feature-band h2 { margin: 0 0 18px; font-size: clamp(34px, 3vw, 57px); line-height: 1.15; }
.feature-band p { max-width: 620px; color: #bed0df; line-height: 1.8; }
.feature-band a { display: inline-block; margin-top: 22px; color: #83d9ff; font-weight: 800; }
.feature-band__products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; transform: rotate(-2deg); }
.feature-band__products img {
  width: 100%;
  aspect-ratio: 1/1.08;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.26);
}
.feature-band__products img:nth-child(2) { transform: translateY(-28px); }

.section { padding-block: 100px; }
.section--soft { background: var(--soft); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-heading h2, .story-grid h2, .contact-copy h2 { margin: 0; color: var(--navy); font-size: clamp(34px, 3vw, 54px); line-height: 1.16; }
.section-heading .eyebrow { margin-bottom: 10px; }
.text-link { color: var(--blue); font-weight: 800; padding-bottom: 6px; }
.category-tabs { display: flex; gap: 9px; overflow-x: auto; padding-bottom: 26px; }
.category-tabs button {
  min-width: max-content;
  border: 1px solid #dfe6ec;
  border-radius: 8px;
  padding: 10px 20px;
  background: #f4f6f8;
  color: #415064;
  cursor: pointer;
}
.category-tabs button:hover, .category-tabs button.is-active { background: var(--orange); border-color: var(--orange); color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.product-card {
  position: relative;
  min-width: 0;
  border: 1px solid #e6ebef;
  border-radius: 13px;
  background: #fff;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-card__image {
  position: relative;
  height: 240px;
  display: grid;
  place-items: center;
  padding: 28px;
  overflow: hidden;
  background: #fff;
}
.product-card__image img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 184px;
  object-fit: contain;
}
.product-badges { position: absolute; left: 14px; top: 14px; display: flex; gap: 6px; }
.product-badges b { padding: 4px 7px; border-radius: 5px; background: var(--blue); color: #fff; font-size: 12px; }
.product-badges b:last-child { background: #00ad51; }
.product-card__body { min-height: 190px; padding: 18px 18px 20px; border-top: 1px solid #eef2f5; display: flex; flex-direction: column; }
.product-card__category { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.product-card h3 { margin: 9px 0; min-height: 48px; color: #303a47; font-size: 17px; line-height: 1.45; }
.product-card__meta { color: #8996a4; font-size: 13px; }
.product-card__price { margin-top: auto; display: flex; justify-content: space-between; align-items: end; }
.product-card__price strong { color: var(--orange-dark); font-size: 23px; }
.product-card__price small { color: #9ba6b0; }
.product-card__price span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #eef4f7; color: var(--blue); font-size: 20px; }

.selection-banner {
  margin-bottom: 100px;
  padding: 52px clamp(30px, 5vw, 76px);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  color: #fff;
  background: linear-gradient(100deg, var(--blue), #0a345c);
}
.selection-banner h2 { margin: 0; font-size: clamp(30px, 3vw, 48px); }
.selection-banner p { margin-bottom: 0; color: #cce6f5; }

.service-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.service-strip__inner { width: var(--shell); margin: auto; min-height: 84px; display: grid; grid-template-columns: repeat(5, 1fr); }
.service-strip span { display: flex; align-items: center; justify-content: center; gap: 10px; color: #556374; font-size: 14px; }
.service-strip i { color: var(--orange); font-style: normal; font-size: 19px; }
.site-footer { background: #f7f8f9; color: #4e5c6b; }
.footer-main { width: var(--shell); margin: auto; padding: 52px 0; display: grid; grid-template-columns: 1.2fr .85fr .85fr .85fr 1.1fr; gap: 40px; }
.footer-logo { width: max-content; margin-bottom: 18px; }
.footer-main h3 { margin: 0 0 18px; color: var(--navy); font-size: 18px; }
.footer-main p, .footer-main a { display: block; margin: 8px 0; font-size: 14px; line-height: 1.7; }
.footer-main a:hover { color: var(--blue); }
.contact-chips { display: flex; gap: 10px; }
.contact-chip { flex: 1; min-height: 88px; padding: 15px; border: 1px solid #e1e6eb; border-radius: 10px; background: #fff; }
.contact-chip b, .contact-chip span { display: block; }
.contact-chip b { color: var(--orange); font-size: 20px; }
.contact-chip span { margin-top: 5px; font-size: 12px; }
.footer-bottom { border-top: 1px solid #e1e6eb; }
.footer-bottom__inner { width: var(--shell); min-height: 60px; margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 12px; color: #84909d; }
.floating-tools { position: fixed; z-index: 30; right: 18px; bottom: 24px; display: grid; gap: 9px; }
.floating-tools a, .floating-tools button {
  width: 48px;
  height: 48px;
  border: 1px solid #e3e8ed;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--orange);
  box-shadow: 0 8px 22px rgba(28,45,67,.12);
  cursor: pointer;
}

.page-main { padding-block: 54px 96px; min-height: 680px; }
.page-heading { margin-bottom: 36px; }
.page-heading h1 { margin: 0 0 12px; color: var(--navy); font-size: clamp(38px, 4vw, 62px); }
.page-heading p { color: var(--muted); }
.breadcrumb { display: flex; gap: 9px; margin-bottom: 32px; color: #8a96a3; font-size: 13px; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb b { color: #4b5a6c; }

.all-orders-action { margin: -12px 0 28px; display: flex; justify-content: flex-end; }

.catalog-page { min-height: 760px; }
.catalog-hero {
  min-height: 240px;
  margin-bottom: 26px;
  padding: 38px clamp(28px, 4vw, 60px);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  color: #fff;
  background:
    linear-gradient(102deg, rgba(6,34,64,.98) 0 52%, rgba(0,105,169,.90)),
    url("machine-application.jpg") center 38% / cover;
  overflow: hidden;
}
.catalog-hero .eyebrow { color: #7ed5ff; margin-bottom: 8px; }
.catalog-hero h1 { margin: 0 0 12px; font-size: clamp(38px, 4vw, 62px); line-height: 1.15; }
.catalog-hero p { max-width: 720px; margin: 0; color: #d4e4ef; font-size: 16px; line-height: 1.75; }
.catalog-hero__benefits { display: grid; grid-template-columns: repeat(3, 1fr); min-width: 440px; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; background: rgba(255,255,255,.10); backdrop-filter: blur(8px); }
.catalog-hero__benefits span { padding: 24px 18px; text-align: center; color: #d6e5ef; font-size: 13px; }
.catalog-hero__benefits span + span { border-left: 1px solid rgba(255,255,255,.18); }
.catalog-hero__benefits b { display: block; margin-bottom: 5px; color: #fff; font-size: 26px; }
.catalog-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; align-items: start; }
.catalog-sidebar {
  position: sticky;
  top: 106px;
  border: 1px solid #e1e6eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 28px rgba(23,43,67,.06);
}
.catalog-sidebar__title { padding: 20px; color: #fff; background: var(--navy); }
.catalog-sidebar__title strong, .catalog-sidebar__title span { display: block; }
.catalog-sidebar__title strong { font-size: 18px; }
.catalog-sidebar__title span { margin-top: 5px; color: #7fb0d5; font-size: 10px; letter-spacing: .15em; }
.catalog-sidebar nav { padding: 8px; }
.catalog-sidebar nav a { padding: 14px 11px; display: grid; grid-template-columns: 28px 1fr 14px; gap: 8px; align-items: center; border-radius: 8px; }
.catalog-sidebar nav a:hover, .catalog-sidebar nav a.is-active { background: #eef6fb; color: var(--blue); }
.catalog-sidebar nav i { color: #a6b1bc; font-style: normal; font-size: 11px; }
.catalog-sidebar nav span strong, .catalog-sidebar nav span small { display: block; }
.catalog-sidebar nav span strong { font-size: 14px; }
.catalog-sidebar nav span small { margin-top: 4px; color: #919daa; font-size: 11px; }
.catalog-sidebar nav b { color: #9aa6b2; font-size: 20px; }
.catalog-help { margin: 10px; padding: 18px; border-radius: 9px; background: #fff4e9; }
.catalog-help strong { color: var(--navy); }
.catalog-help p { color: #7d6a58; font-size: 12px; line-height: 1.6; }
.catalog-help a { color: var(--orange-dark); font-size: 12px; font-weight: 800; }
.catalog-results { min-width: 0; }
.catalog-toolbar {
  min-height: 68px;
  padding: 12px 18px;
  border: 1px solid #e1e6eb;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #fff;
}
.catalog-toolbar > div strong { margin-right: 14px; color: var(--navy); font-size: 20px; }
.catalog-toolbar > div span { color: #8a96a3; font-size: 13px; }
.catalog-toolbar > div span b { color: var(--orange-dark); }
.catalog-toolbar label { display: flex; align-items: center; gap: 9px; color: #7d8996; font-size: 13px; }
/* 排序控件：分段式胶囊按钮，当前项白底高亮 + 阴影 */
.sort-segmented { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px; padding: 7px 9px 7px 16px; border: 1px solid #d9e2e9; border-radius: 14px; background: #eef2f6; box-shadow: inset 0 1px 2px rgba(15,42,70,.04); }
.sort-segmented__label { padding-right: 6px; color: #7c8894; font-size: 12px; font-weight: 600; letter-spacing: 1px; }
.sort-segmented__item {
  border: 0; background: transparent; border-radius: 999px;
  padding: 7px 14px; color: #5b6773; font-size: 13px; font-weight: 600;
  cursor: pointer; white-space: nowrap;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.sort-segmented__item:hover { background: rgba(255,255,255,.7); color: var(--navy); }
.sort-segmented__item.is-active {
  background: #fff; color: var(--navy); font-weight: 700;
  box-shadow: 0 2px 8px rgba(15,42,70,.14);
}
.category-tabs--mall { padding: 14px 0; }
.category-tabs--mall button { background: #fff; }
.subseries-filter {
  margin: 0 0 18px;
  padding: 15px 18px;
  border: 1px solid #dce7ef;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #f7fbfe, #eef6fb);
}
.subseries-filter > strong { flex: none; color: var(--navy); font-size: 13px; }
.subseries-filter > div { display: flex; flex-wrap: wrap; gap: 8px; }
.subseries-filter button {
  padding: 8px 15px;
  border: 1px solid #cfe0ec;
  border-radius: 999px;
  color: #526477;
  background: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: .18s ease;
}
.subseries-filter button:hover { border-color: var(--blue); color: var(--blue); }
.subseries-filter button.is-active { border-color: var(--orange); color: #fff; background: var(--orange); box-shadow: 0 5px 14px rgba(255,121,0,.22); }
.catalog-product-grid { grid-template-columns: repeat(4, 1fr); gap: 15px; }
.catalog-product-grid .product-card__image { height: 210px; padding: 20px; }
.catalog-product-grid .product-card__image img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 160px;
  object-fit: contain;
}
.catalog-product-grid .product-card__body { min-height: 205px; }
.catalog-product-grid .product-card::after {
  content: "查看规格";
  position: absolute;
  right: 15px;
  bottom: 21px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  transition: .2s ease;
}
.catalog-product-grid .product-card:hover::after { opacity: 1; }
.catalog-product-grid .product-card:hover .product-card__price span { opacity: 0; }

.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.cart-list, .cart-summary, .checkout-card, .checkout-summary, .account-panel, .account-stats article, .account-menu, .purchase-layout, .detail-section {
  border: 1px solid #e1e7ec;
  border-radius: 16px;
  background: #fff;
}
.cart-list__head {
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 38px 1fr 130px 150px 90px;
  border-bottom: 1px solid #e8edf1;
  color: #8a96a2;
  font-size: 13px;
}
.cart-row {
  padding: 22px;
  display: grid;
  grid-template-columns: 38px 1fr 130px 150px 90px;
  align-items: center;
  gap: 0;
  border-bottom: 1px solid #edf1f4;
}
.cart-row:last-child { border-bottom: 0; }
.cart-product { display: flex; align-items: center; gap: 17px; min-width: 0; }
.cart-product img { width: 92px; height: 82px; object-fit: contain; border-radius: 9px; background: #f7f8fa; padding: 8px; }
.cart-product strong, .cart-product span { display: block; }
.cart-product strong { font-size: 17px; }
.cart-product span { margin-top: 6px; color: #8a96a3; font-size: 12px; }
.cart-price { color: var(--orange-dark); font-weight: 800; }
/* 数量步进器：− 数量 + */
.cart-quantity { display: inline-flex; align-items: stretch; border: 1px solid #d9e2e9; border-radius: 8px; overflow: hidden; width: 118px; background: #fff; }
.cart-quantity button { width: 34px; border: 0; background: #f6f8fa; color: #4c5a68; font-size: 17px; line-height: 1; cursor: pointer; transition: background .15s; }
.cart-quantity button:hover:not(:disabled) { background: #edf2f6; color: var(--orange-dark); }
.cart-quantity button:disabled { color: #c3ccd4; cursor: not-allowed; }
.cart-quantity input { width: 50px; min-width: 0; border: 0; border-inline: 1px solid #e6ecf1; text-align: center; font-size: 14px; font-weight: 700; color: #22303d; padding: 8px 0; outline: none; -moz-appearance: textfield; appearance: textfield; }
.cart-quantity input::-webkit-outer-spin-button, .cart-quantity input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.remove-button { border: 0; background: transparent; color: #83909e; cursor: pointer; }
.remove-button:hover { color: var(--red); }
.cart-summary { position: sticky; top: 106px; padding: 26px; }
.cart-summary h2 { margin: 0 0 22px; font-size: 22px; }
.summary-row { display: flex; justify-content: space-between; margin: 14px 0; color: #647284; }
.summary-row.total { margin-top: 22px; padding-top: 22px; border-top: 1px solid #e4e9ee; color: var(--ink); }
.summary-row.total strong { color: var(--orange-dark); font-size: 28px; }
.cart-summary .button { margin-top: 15px; }
.summary-note { margin: 15px 0 0; color: #98a2ad; font-size: 12px; line-height: 1.6; }

/* 订单确认页（checkout） */
.checkout-heading { position: relative; }
.checkout-steps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.checkout-steps span { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #9aa7b5; font-size: 13px; }
.checkout-steps span.is-done { border-color: rgba(0, 118, 223, .25); background: var(--soft); color: var(--blue); }
.checkout-steps span.is-current { border-color: var(--orange); background: linear-gradient(135deg, var(--orange), var(--orange-dark)); color: #fff; font-weight: 600; box-shadow: 0 6px 16px rgba(231, 92, 0, .3); }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 26px; align-items: start; }
.checkout-main { display: grid; gap: 20px; }
.checkout-card { padding: 26px 28px; background: #fff; border-radius: 16px; transition: box-shadow .25s; }
.checkout-card:hover { box-shadow: 0 18px 44px rgba(7, 49, 91, .12); }
.checkout-card__title { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font-size: 17px; color: var(--ink); }
.checkout-card__title--row { flex-wrap: wrap; margin-bottom: 0; }
.checkout-card__title--row + .checkout-form { margin-top: 18px; }
.checkout-card__step { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--navy), #12376b); color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .5px; }
.checkout-card__hint { margin-left: auto; margin-right: 14px; font-size: 12px; color: #98a4b2; font-weight: 400; }
.checkout-card__title .checkout-switch { margin-left: auto; }
.checkout-card__title .checkout-card__hint + .checkout-switch { margin-left: 0; }
.checkout-required { padding: 2px 10px; border-radius: 999px; background: rgba(236, 32, 70, .08); color: var(--red); font-style: normal; font-size: 12px; font-weight: 600; }
.checkout-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; }
.checkout-form label { display: grid; gap: 7px; font-size: 13px; color: var(--muted); }
.checkout-form label.full { grid-column: 1 / -1; }
.checkout-form label span.req::after { content: ' *'; color: var(--red); }
.checkout-form input { height: 46px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; color: var(--ink); background: #fbfdfe; transition: border-color .2s, box-shadow .2s, background .2s; }
.checkout-form input::placeholder { color: #aab6c2; }
.checkout-form input:hover { border-color: #b9cde0; }
.checkout-form input:focus { border-color: var(--blue); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(0, 118, 223, .12); }
.checkout-switch { position: relative; flex: none; display: inline-flex; align-items: center; gap: 10px; border: 0; background: none; cursor: pointer; padding: 0; font-size: 13px; color: var(--muted); }
.checkout-switch i { position: relative; flex: none; width: 46px; height: 25px; border-radius: 999px; background: #cdd5de; transition: background .2s; }
.checkout-switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 19px; height: 19px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(21, 36, 58, .3); transition: transform .2s; }
.checkout-switch em { font-style: normal; }
.checkout-switch.is-on { color: var(--orange-dark); font-weight: 600; }
.checkout-switch.is-on i { background: var(--orange); }
.checkout-switch.is-on i::after { transform: translateX(21px); }
.checkout-product { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; gap: 18px; padding: 20px 0; border-top: 1px dashed var(--line); }
.checkout-card .checkout-product:first-of-type { border-top: 0; padding-top: 4px; }
.checkout-card .checkout-product:last-of-type { padding-bottom: 4px; }
.checkout-product img { width: 104px; height: 104px; object-fit: cover; border-radius: 12px; border: 1px solid #edf1f6; background: var(--soft); }
.checkout-product__info { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.checkout-product__info strong { font-size: 16px; color: var(--ink); }
.checkout-product__info small { color: #98a4b2; }
.checkout-product__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0; }
.checkout-product__tags span { padding: 3px 10px; border: 1px solid rgba(0, 118, 223, .18); border-radius: 999px; background: var(--soft); color: var(--blue); font-size: 12px; }
.checkout-product__price { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 13px; white-space: nowrap; }
.checkout-product__price b { color: var(--ink); font-size: 14px; }
.checkout-product__subtotal { padding: 5px 12px; border-radius: 8px; background: rgba(255, 121, 0, .08); color: var(--orange-dark); font-size: 14px; font-weight: 700; }
.checkout-summary { position: sticky; top: 106px; overflow: hidden; padding: 0 26px 26px; background: #fff; border-radius: 16px; }
.checkout-summary__head { display: flex; align-items: baseline; justify-content: space-between; margin: 0 -26px 20px; padding: 20px 26px; background: linear-gradient(135deg, var(--navy), #10315e); }
.checkout-summary__head h2 { margin: 0; font-size: 19px; color: #fff; }
.checkout-summary__head span { color: rgba(255, 255, 255, .65); font-size: 12px; }
.checkout-summary .summary-row.total { border-top: 2px solid var(--navy); }
.checkout-summary .summary-row.total strong small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: #98a2ad; text-align: right; }
.checkout-actions { display: grid; gap: 10px; margin-top: 18px; }
.checkout-confirm { min-height: 50px; font-size: 16px; font-weight: 700; letter-spacing: 2px; background: linear-gradient(135deg, var(--orange), var(--orange-dark)); box-shadow: 0 10px 24px rgba(231, 92, 0, .35); }
.checkout-confirm:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(231, 92, 0, .45); }
.empty-state { padding: 80px 28px; text-align: center; border: 1px dashed #cad4dd; border-radius: 16px; background: #fafbfc; }
.empty-state i { display: block; color: #9ba8b5; font-style: normal; font-size: 54px; }
.empty-state h2 { margin-bottom: 8px; }
.empty-state p { color: var(--muted); }
.empty-state .button { margin-top: 18px; }

.account-hero { display: flex; align-items: center; gap: 22px; margin-bottom: 30px; }
.account-hero h1 { margin: 0; color: var(--navy); font-size: 38px; }
.account-hero p { margin-bottom: 0; color: var(--muted); }
.account-hero .eyebrow { margin-bottom: 6px; }
.account-hero .button { margin-left: auto; }
.avatar { width: 78px; height: 78px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-size: 25px; font-weight: 800; }
.account-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.account-stats article { padding: 23px; }
.account-stats span, .account-stats small { display: block; color: #7a8896; }
.account-stats strong { margin: 8px 7px 0 0; display: inline-block; color: var(--blue); font-size: 32px; }
.account-layout { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: start; }
.account-menu { padding: 10px; display: grid; gap: 4px; }
.account-menu button { padding: 13px 14px; border: 0; border-radius: 8px; background: transparent; text-align: left; cursor: pointer; }
.account-menu button:hover, .account-menu button.is-active { background: #eaf4fa; color: var(--blue); font-weight: 800; }
.account-panel { min-height: 340px; padding: 28px; }
.panel-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid #e5eaee; }
.panel-title h2 { margin: 0; color: var(--navy); }
.panel-title span { color: #8a97a4; font-size: 13px; }
.panel-title a, .plain-button { color: var(--blue); }
.plain-button { border: 0; background: transparent; cursor: pointer; }
.profile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.profile-grid label { padding: 18px; border-radius: 9px; background: #f6f8fa; color: #84909c; font-size: 13px; }
.profile-grid strong { display: block; margin-top: 8px; color: #354456; font-size: 15px; }
.profile-grid--edit input { width: 100%; margin-top: 8px; padding: 11px 13px; border: 1px solid #dce3e9; border-radius: 8px; outline: 0; background: #fff; color: #354456; font-size: 14px; }
.profile-grid--edit input:focus { border-color: var(--blue); }
.profile-edit-actions { display: flex; align-items: center; gap: 12px; padding: 0 !important; background: transparent !important; }
.profile-edit-actions .button { margin-top: 0; min-width: 118px; }
.profile-login-tip { margin-top: 14px; font-size: 13px; color: #8a96a8; }
.order-list article { display: grid; grid-template-columns: 190px 1fr 90px 120px; gap: 18px; align-items: center; padding: 17px 0; border-bottom: 1px solid #edf1f4; }
.order-list article:last-child { border: 0; }
.order-list strong, .order-list span { display: block; }
.order-list span { margin-top: 4px; color: #9aa5af; font-size: 12px; }
.order-list p { margin: 0; color: #657386; }
/* 列表空状态 / 加载提示：居中卡片式文案 */
.order-list > p {
  margin: 10px 0 4px;
  padding: 42px 20px;
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
  color: #7c8ca0;
  background: linear-gradient(180deg, #f8fbfe, #f1f6fb);
  border: 1px dashed #cfdcea;
  border-radius: 12px;
}
.order-list > p::before {
  content: "📭";
  display: block;
  margin-bottom: 10px;
  font-size: 28px;
  line-height: 1;
}
.order-list b { justify-self: start; padding: 5px 9px; border-radius: 99px; background: #fff1e5; color: var(--orange-dark); font-size: 12px; }
.order-list b.done { background: #e9f8ef; color: #188c4a; }
.order-list em { justify-self: end; font-style: normal; font-weight: 800; }
.mini-list { display: grid; gap: 10px; }
.mini-list article { display: flex; align-items: center; gap: 15px; padding: 12px; border-radius: 10px; background: #f6f8fa; }
.mini-list img { width: 58px; height: 50px; object-fit: contain; background: #fff; padding: 5px; }
.mini-list span { margin-left: auto; color: var(--orange-dark); font-weight: 800; }
.address-card { padding: 22px; border: 1px solid #dfe6ec; border-radius: 12px; position: relative; }
.address-card p { color: #687688; }
.address-card span { position: absolute; right: 20px; top: 20px; padding: 5px 8px; border-radius: 5px; background: #eaf4fa; color: var(--blue); font-size: 12px; }

.purchase-layout { display: grid; grid-template-columns: minmax(440px, .9fr) 1.1fr; gap: 48px; padding: 34px; }
.purchase-gallery { display: grid; grid-template-columns: 1fr; gap: 14px; }
/* 防御性约束：画廊子项不得撑破网格（canvas/图纸等内在宽度大的内容只能内部滚动） */
.purchase-gallery > * { min-width: 0; max-width: 100%; }
.viewer-switch {
  grid-column: 1 / -1;
  width: max-content;
  padding: 4px;
  display: flex;
  gap: 4px;
  border: 1px solid rgba(0,118,223,.16);
  border-radius: 11px;
  background: #edf5fb;
}
.viewer-switch button {
  min-width: 112px;
  padding: 9px 16px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #62758a;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.viewer-switch button:hover { color: var(--blue); }
.viewer-switch button.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #0059b8);
  box-shadow: 0 8px 18px rgba(0,92,182,.22);
}
.main-product-image {
  width: 100%;
  min-height: 500px;
  padding: 18px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f7f9fa;
}
.main-product-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: contain;
}
.cad-model-stage {
  grid-column: 1 / -1;
  position: relative;
  min-height: 500px;
  padding: 48px;
  border: 1px dashed rgba(70,191,255,.46);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(0,118,223,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,118,223,.06) 1px, transparent 1px),
    radial-gradient(circle at 50% 45%, rgba(0,174,232,.18), transparent 20rem),
    linear-gradient(145deg, #f7fbff, #eaf5fd);
  background-size: 28px 28px, 28px 28px, auto, auto;
}
.cad-model-stage__badge {
  position: absolute;
  left: 20px;
  top: 20px;
  padding: 7px 11px;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 8px 18px rgba(0,118,223,.20);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}
.cad-model-stage__mark {
  width: 112px;
  height: 112px;
  margin-bottom: 22px;
  border: 2px solid rgba(0,118,223,.34);
  border-radius: 24px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: rgba(255,255,255,.78);
  box-shadow: 0 20px 46px rgba(0,79,149,.14), inset 0 0 0 8px rgba(0,118,223,.05);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: .08em;
  transform: rotate(-4deg);
}
.cad-model-stage h3 { margin: 0 0 12px; color: var(--navy); font-size: 24px; }
.cad-model-stage p { max-width: 520px; margin: 0; color: #687b8e; line-height: 1.75; }
.cad-format-tags { margin: 22px 0 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.cad-format-tags span { padding: 6px 11px; border: 1px solid rgba(0,118,223,.17); border-radius: 6px; color: #276b9e; background: rgba(255,255,255,.76); font-size: 11px; font-weight: 800; }
.cad-model-stage small { color: var(--orange-dark); font-weight: 800; }
.drawing-stage {
  grid-column: 1 / -1;
  position: relative;
  min-height: 500px;
  padding: 52px 38px 28px;
  border: 1px dashed rgba(0,118,223,.38);
  border-radius: 16px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(0,118,223,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,118,223,.045) 1px, transparent 1px),
    #f5faff;
  background-size: 20px 20px;
}
.drawing-stage__badge {
  position: absolute;
  left: 20px;
  top: 20px;
  padding: 7px 11px;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 8px 18px rgba(0,118,223,.20);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}
.drawing-sheet {
  width: min(88%, 660px);
  aspect-ratio: 1.55;
  position: relative;
  border: 2px solid #274867;
  color: #274867;
  background: rgba(255,255,255,.94);
  box-shadow: 0 22px 48px rgba(0,79,149,.14);
}
.drawing-sheet__title { position: absolute; left: 20px; top: 16px; display: grid; gap: 4px; }
.drawing-sheet__title strong { color: var(--navy); font-size: 15px; }
.drawing-sheet__title span { color: #708396; font-size: 11px; }
.drawing-shape {
  position: absolute;
  inset: 27% 20% 24%;
  border: 3px solid #315e83;
}
.drawing-shape::before,
.drawing-shape::after {
  content: "";
  position: absolute;
  background: #315e83;
}
.drawing-shape::before { left: 50%; top: -18%; bottom: -18%; width: 2px; }
.drawing-shape::after { top: 50%; left: -12%; right: -12%; height: 2px; }
.drawing-shape i { position: absolute; inset: 22%; border: 3px solid #315e83; border-radius: 50%; }
.drawing-shape b,
.drawing-shape em { position: absolute; padding: 2px 5px; color: var(--blue); background: #fff; font-size: 11px; font-style: normal; }
.drawing-shape b { left: 50%; bottom: -22px; transform: translateX(-50%); }
.drawing-shape em { right: -23px; top: 50%; transform: translateY(-50%); }
.drawing-sheet__footer {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  min-height: 42px;
  border-top: 1px solid #315e83;
  border-left: 1px solid #315e83;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.drawing-sheet__footer span { padding: 7px; border-right: 1px solid #315e83; display: grid; place-items: center; font-size: 9px; text-align: center; }
.drawing-sheet__footer span:last-child { border-right: 0; }
.drawing-stage > p { max-width: 680px; margin: 18px 0 0; color: #687b8e; font-size: 13px; line-height: 1.7; text-align: center; }
.purchase-info { padding: 8px 0; }
.purchase-info__category { color: var(--blue); font-weight: 800; font-size: 13px; }
.purchase-info h1 { margin: 10px 0 12px; color: var(--navy); font-size: clamp(30px, 3vw, 46px); line-height: 1.2; }
.sku-line { color: #8995a2; font-size: 13px; }
.purchase-price { margin: 24px 0; padding: 20px; border-radius: 10px; background: #fff5ec; }
.purchase-price small { color: #8c7563; }
.purchase-price strong { margin: 0 5px 0 18px; color: var(--orange-dark); font-size: 34px; }
.purchase-benefits { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 24px; border-block: 1px solid #e5eaee; }
.purchase-benefits span { padding: 15px 5px; color: #5d6b7c; font-size: 13px; text-align: center; }
.product-info-grid {
  margin-top: 20px;
  border: 1px solid #e2eaf1;
  border-radius: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  background: #f8fbfd;
}
.product-info-grid div { min-height: 70px; padding: 14px 16px; border-right: 1px solid #e2eaf1; border-bottom: 1px solid #e2eaf1; }
.product-info-grid div:nth-child(2n) { border-right: 0; }
.product-info-grid div:nth-last-child(-n+2) { border-bottom: 0; }
.product-info-grid span { display: block; margin-bottom: 5px; color: #8290a0; font-size: 12px; }
.product-info-grid strong { color: var(--navy); font-size: 14px; line-height: 1.5; }
.purchase-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.button--service {
  border-color: rgba(0,118,223,.26);
  color: var(--blue);
  background: #eef8ff;
}
.button--service:hover { border-color: var(--blue); background: #e2f3ff; }
.button--service span { font-size: 20px; }
.product-selection-panel {
  margin-top: 26px;
  padding: 30px;
  border: 1px solid #dce8f1;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(0,118,223,.045), transparent 34%),
    #fff;
  box-shadow: 0 18px 50px rgba(20, 61, 93, .08);
}
.product-selection-heading {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e4ebf1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.product-selection-heading h2 { margin: 0; color: var(--navy); font-size: 28px; }
.product-selection-heading p { max-width: 660px; margin: 0; color: #718092; font-size: 14px; line-height: 1.7; }
.product-parameter-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.parameter-field { display: grid; align-content: start; gap: 8px; }
.parameter-field > span { min-height: 22px; color: #526477; font-size: 13px; font-weight: 700; }
.parameter-field > span small { margin-left: 5px; color: #9aa6b2; font-size: 11px; font-weight: 400; }
.parameter-field input,
.parameter-field select {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  border: 1px solid #d8e2ea;
  border-radius: 8px;
  outline: 0;
  color: var(--navy);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.parameter-field input:focus,
.parameter-field select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,118,223,.10); }
.parameter-field input[readonly] { color: var(--blue); font-weight: 800; background: #edf7ff; }
.selection-form-note {
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 4px solid var(--orange);
  border-radius: 0 9px 9px 0;
  color: #5e7082;
  background: #fff7ed;
  font-size: 13px;
  line-height: 1.75;
}
.detail-section { margin-top: 26px; overflow: hidden; }
.detail-tabs { display: flex; border-bottom: 1px solid #e2e7ec; background: #f7f9fa; }
.detail-tabs button { min-width: 150px; padding: 17px; border: 0; border-right: 1px solid #e2e7ec; background: transparent; cursor: pointer; }
.detail-tabs button.is-active { background: #fff; color: var(--blue); font-weight: 800; }
.detail-content { padding: 30px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 15px 18px; border: 1px solid #e3e8ed; text-align: left; }
.spec-table th { width: 18%; background: #f7f9fa; color: #687688; font-weight: 400; }
.detail-note { margin-top: 18px; padding: 17px; border-left: 4px solid var(--blue); background: #eef6fa; color: #5f7081; line-height: 1.7; }
.detail-copy { color: #5f7081; line-height: 1.85; }
.detail-copy h3 { margin: 0 0 12px; color: var(--navy); font-size: 22px; }
.detail-copy ul { margin: 18px 0 0; padding-left: 20px; }
.detail-copy li + li { margin-top: 8px; }
.related-section { padding-bottom: 0; }

.service-page {
  width: min(1940px, calc(100vw - 36px));
  padding: 20px 0 18px;
}
.service-page .breadcrumb { margin-bottom: 18px; }
.service-chat-shell {
  height: calc(100vh - 156px);
  min-height: 760px;
  border: 1px solid #dce6ee;
  border-radius: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 65px rgba(9, 51, 93, .12);
}
.service-sidebar { padding: 26px 20px; border-right: 1px solid #e1e9f0; background: linear-gradient(180deg, #f7fbff, #eef6fb); }
.service-agent { padding: 4px 4px 24px; border-bottom: 1px solid #dce6ee; display: flex; align-items: center; gap: 13px; }
.service-agent__avatar,
.chat-message__avatar {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(0,118,223,.20);
}
.service-agent__avatar { width: 48px; height: 48px; border-radius: 14px; font-size: 18px; }
.service-agent strong, .service-agent span { display: block; }
.service-agent strong { color: var(--navy); font-size: 16px; }
.service-agent span { margin-top: 7px; color: #687b8e; font-size: 12px; }
.service-agent i,
.service-conversation__head i { width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; display: inline-block; background: #16bd73; box-shadow: 0 0 0 4px rgba(22,189,115,.12); }
.service-sidebar__block { margin-top: 24px; }
.service-sidebar__block h2 { margin: 0 0 12px 8px; color: #758597; font-size: 12px; letter-spacing: .12em; }
.service-sidebar__block > button,
.service-sidebar__block > a {
  width: 100%;
  margin-bottom: 8px;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: transparent;
  cursor: pointer;
}
.service-sidebar__block > button:hover,
.service-sidebar__block > a:hover,
.service-sidebar__block > .is-active { border-color: #d6e6f2; background: #fff; box-shadow: 0 8px 22px rgba(18,66,105,.07); }
.service-sidebar__block > button > span,
.service-sidebar__block > a > span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--blue); background: #e9f6ff; font-size: 18px; }
.service-sidebar__block strong, .service-sidebar__block small { display: block; }
.service-sidebar__block strong { color: var(--navy); font-size: 14px; }
.service-sidebar__block small { margin-top: 4px; color: #8492a0; font-size: 11px; }
.service-hours { margin-top: 34px; padding: 17px; border: 1px solid #d9e6ef; border-radius: 12px; color: #66798c; background: rgba(255,255,255,.66); }
.service-hours strong, .service-hours span, .service-hours small { display: block; }
.service-hours strong { color: var(--navy); font-size: 13px; }
.service-hours span { margin: 8px 0; color: var(--blue); font-size: 12px; font-weight: 800; }
.service-hours small { line-height: 1.6; }
.service-conversation {
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  overflow: hidden;
  background: #f7f9fb;
}
.service-conversation__head { min-height: 76px; padding: 0 26px; border-bottom: 1px solid #e1e9ef; display: flex; align-items: center; justify-content: space-between; background: #fff; }
.service-conversation__head strong, .service-conversation__head span { display: block; }
.service-conversation__head strong { color: var(--navy); font-size: 17px; }
.service-conversation__head span { margin-top: 5px; color: #7a8998; font-size: 12px; }
.service-conversation__head button { padding: 8px 12px; border: 0; border-radius: 7px; color: #748598; background: #f1f5f8; cursor: pointer; }
.service-product-context { margin: 18px 24px 0; padding: 13px; border: 1px solid #dbe6ee; border-radius: 12px; display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; align-items: center; gap: 14px; background: #fff; box-shadow: 0 7px 20px rgba(9,50,88,.05); }
.service-product-context > img { width: 74px; height: 60px; padding: 5px; border-radius: 8px; object-fit: contain; background: #f4f7f9; }
.service-product-context span, .service-product-context strong, .service-product-context small { display: block; }
.service-product-context span { color: #8b98a5; font-size: 11px; }
.service-product-context strong { margin: 4px 0; color: var(--navy); font-size: 14px; }
.service-product-context small { color: #718295; }
.service-product-context__price { text-align: right; }
.service-product-context b { display: block; color: var(--orange-dark); font-size: 18px; }
.service-product-context a { display: inline-block; margin-top: 8px; color: var(--blue); font-size: 12px; font-weight: 800; }
.service-product-context--empty {
  min-height: 94px;
  padding: 16px 18px;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 15px;
}
.service-product-empty__icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #eaf6ff;
  font-size: 22px;
  font-weight: 900;
}
.service-product-empty { min-width: 0; text-align: left; }
.service-product-empty strong { margin: 0 0 7px; color: var(--navy); font-size: 15px; line-height: 1.4; }
.service-product-empty span { color: #718295; font-size: 13px; line-height: 1.65; }
.service-product-context--empty > .button {
  min-height: 42px;
  margin: 0;
  padding-inline: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
  white-space: nowrap;
}
.chat-messages {
  min-height: 0;
  padding: 24px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}
.chat-messages:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.chat-messages::-webkit-scrollbar { width: 10px; }
.chat-messages::-webkit-scrollbar-track { background: #edf3f7; }
.chat-messages::-webkit-scrollbar-thumb { border: 2px solid #edf3f7; border-radius: 999px; background: #a9bac8; }
.chat-messages::-webkit-scrollbar-thumb:hover { background: #7f96a8; }
.chat-message { margin-bottom: 22px; display: flex; align-items: flex-start; gap: 11px; }
.chat-message--user { flex-direction: row-reverse; }
.chat-message__avatar { width: 36px; height: 36px; border-radius: 11px; font-size: 12px; }
.chat-message--user .chat-message__avatar { background: linear-gradient(135deg, var(--orange), #ffae36); box-shadow: 0 8px 18px rgba(255,121,0,.18); }
.chat-message > div:last-child { max-width: min(68%, 680px); }
.chat-message p { margin: 0; padding: 12px 15px; border: 1px solid #dfe8ef; border-radius: 5px 15px 15px 15px; color: #33495f; background: #fff; line-height: 1.7; box-shadow: 0 5px 14px rgba(15,54,89,.05); }
.chat-message--user p { border-color: var(--blue); border-radius: 15px 5px 15px 15px; color: #fff; background: linear-gradient(135deg, var(--blue), #168ee8); }
.chat-message time { margin-top: 5px; display: block; color: #9aa7b3; font-size: 10px; }
.chat-message--user time { text-align: right; }
.chat-composer { padding: 16px 20px 18px; border-top: 1px solid #dfe8ef; background: #fff; }
.chat-composer textarea { width: 100%; min-height: 80px; padding: 12px; border: 0; outline: 0; resize: vertical; color: var(--ink); }
.chat-composer > div { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.chat-composer span { color: #9aa7b3; font-size: 11px; }
.chat-composer .button { min-height: 42px; padding-inline: 28px; }

.about-hero {
  min-height: 590px;
  display: grid;
  align-items: center;
  color: #fff;
  background: linear-gradient(90deg, rgba(4,28,55,.96) 0 44%, rgba(4,28,55,.55) 72%, rgba(4,28,55,.25)), url("machine-application.jpg") center/cover;
}
.about-hero h1 { color: #fff; }
.about-hero p { max-width: 700px; margin: 25px 0 0; color: #d4e2ed; font-size: 18px; line-height: 1.8; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 72px; align-items: center; }
.story-grid > div:first-child { display: flex; flex-direction: column; justify-content: center; }
.story-grid h2 { max-width: 460px; }
.story-grid p { margin: 0 0 20px; color: #5d6b7b; font-size: 18px; line-height: 1.9; }
.story-grid p:last-child { margin-bottom: 0; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value-grid article { min-height: 240px; padding: 28px; border: 1px solid #e1e7ec; border-radius: 15px; background: #fff; }
.value-grid i { color: var(--orange); font-style: normal; font-weight: 800; }
.value-grid h3 { margin-top: 42px; color: var(--navy); font-size: 22px; }
.value-grid p { color: var(--muted); line-height: 1.7; }
.contact-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; }
.contact-copy > p { color: var(--muted); line-height: 1.8; }
.contact-copy dl { margin-top: 34px; }
.contact-copy dl div { margin-bottom: 20px; }
.contact-copy dt { color: #8a96a2; font-size: 13px; }
.contact-copy dd { margin: 6px 0 0; color: var(--navy); font-size: 18px; font-weight: 800; }
.contact-form { padding: 28px; border-radius: 16px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; background: var(--soft); }
.contact-form label { display: grid; gap: 8px; color: #5c6a7a; font-size: 13px; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; border: 1px solid #dce3e9; border-radius: 8px; padding: 13px; outline: 0; background: #fff; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--blue); }
.form-wide { grid-column: 1 / -1; }

.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 30px);
  padding: 13px 20px;
  border-radius: 9px;
  background: #12263f;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* 视觉升级：更鲜明的宏贝蓝橙色与更精致的界面层次 */
body {
  background:
    radial-gradient(circle at 8% 4%, rgba(0,174,232,.08), transparent 28rem),
    radial-gradient(circle at 92% 18%, rgba(255,121,0,.07), transparent 26rem),
    #fbfdff;
}
::selection { background: rgba(0,118,223,.18); color: var(--navy); }
.brand-stripe {
  height: 6px;
  background: linear-gradient(90deg, #0076df 0 38%, #00bce9 38% 60%, #ff9a00 60% 80%, #ec2046 80%);
  box-shadow: 0 2px 10px rgba(0,118,223,.22);
}
.site-header {
  border-color: rgba(14,83,144,.13);
  background: rgba(255,255,255,.93);
  box-shadow: 0 10px 32px rgba(8,46,86,.08);
}
.site-logo img { box-shadow: 0 8px 18px rgba(181,17,32,.18); }
.desktop-nav a::after {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
  box-shadow: 0 4px 10px rgba(0,118,223,.26);
}
.site-search {
  border-color: rgba(0,118,223,.20);
  background: linear-gradient(135deg, #f8fbff, #eef6fc);
  box-shadow: inset 0 1px 0 #fff, 0 8px 20px rgba(8,56,102,.07);
}
.site-search:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0,118,223,.10), 0 10px 24px rgba(8,56,102,.10);
}
.site-search button {
  background: linear-gradient(135deg, var(--blue), #0059b8);
  box-shadow: -6px 0 16px rgba(0,93,182,.14);
}
.header-action:hover, .header-action.is-active {
  background: linear-gradient(135deg, #eaf5ff, #f0f9ff);
  color: var(--blue);
}
.cart-badge {
  background: linear-gradient(135deg, #ff9b00, #ff5d00);
  box-shadow: 0 4px 10px rgba(255,93,0,.32);
}
.button {
  border-radius: 11px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.button--primary {
  background: linear-gradient(135deg, #ff9500, #ff6500 62%, #ef4300);
  box-shadow: 0 12px 24px rgba(245,94,0,.24);
}
.button--primary:hover {
  background: linear-gradient(135deg, #ff9f18, #f45100);
  box-shadow: 0 15px 30px rgba(245,94,0,.32);
}
.button--ghost {
  border-color: rgba(0,118,223,.20);
  background: linear-gradient(135deg, #fff, #f5faff);
  box-shadow: 0 8px 20px rgba(16,63,106,.07);
}
.button--ghost:hover { border-color: rgba(0,118,223,.48); color: var(--blue); box-shadow: 0 12px 26px rgba(0,118,223,.12); }
.eyebrow { color: var(--blue); }
.hero {
  position: relative;
  margin-top: 24px;
  padding-inline: clamp(24px, 3.2vw, 56px);
  border: 1px solid rgba(0,118,223,.10);
  border-radius: 30px;
  background:
    radial-gradient(circle at 8% 16%, rgba(0,174,232,.14), transparent 24rem),
    radial-gradient(circle at 76% 90%, rgba(255,121,0,.11), transparent 28rem),
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(242,249,255,.94));
  box-shadow: 0 24px 70px rgba(10,55,99,.10);
  overflow: hidden;
}
.hero__visual {
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: 0 28px 70px rgba(6,38,74,.24);
}
.hero__visual-caption {
  border: 1px solid rgba(100,207,255,.24);
  background: linear-gradient(135deg, rgba(4,35,68,.94), rgba(0,92,157,.88));
  box-shadow: 0 14px 34px rgba(0,0,0,.20);
}
.hero__stats article {
  border-color: rgba(0,118,223,.13);
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(239,247,255,.94));
  box-shadow: 0 14px 32px rgba(8,53,96,.11);
  transition: transform .22s ease, border-color .22s ease;
}
.hero__stats article:hover { transform: translateY(-5px); border-color: rgba(0,118,223,.35); }
.hero__stats article:nth-child(2) strong { color: var(--blue); }
.hero__stats article:nth-child(3) strong { color: var(--red); }
.feature-band {
  border: 1px solid rgba(68,191,255,.22);
  background:
    radial-gradient(circle at 88% 16%, rgba(0,190,233,.34), transparent 22rem),
    radial-gradient(circle at 10% 90%, rgba(236,32,70,.18), transparent 22rem),
    linear-gradient(120deg, #031b3d, #004f96 68%, #007cc9);
  box-shadow: 0 28px 70px rgba(3,47,91,.22);
}
.feature-band__products img {
  border: 1px solid rgba(100,208,255,.34);
  box-shadow: 0 22px 54px rgba(0,0,0,.30);
}
.section-heading h2, .story-grid h2, .contact-copy h2 {
  background: linear-gradient(100deg, var(--navy), #075fae);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.category-tabs button {
  border-color: rgba(0,118,223,.16);
  background: linear-gradient(135deg, #fff, #f0f7fd);
  box-shadow: 0 5px 14px rgba(13,66,111,.05);
}
.category-tabs button:hover, .category-tabs button.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, #ff9300, #ff6200);
  box-shadow: 0 9px 20px rgba(255,99,0,.24);
}
.product-card {
  border-color: rgba(0,104,190,.14);
  box-shadow: 0 10px 28px rgba(8,49,88,.07);
}
.product-card:hover {
  border-color: rgba(0,118,223,.34);
  box-shadow: 0 22px 48px rgba(5,51,96,.17);
}
.product-card__image {
  background:
    radial-gradient(circle at 50% 44%, #fff 0 34%, #eef7ff 76%, #e9f3fb);
}
.product-card__image::after {
  content: "";
  position: absolute;
  inset: auto 15% 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,118,223,.35), transparent);
}
.product-badges b {
  background: linear-gradient(135deg, #0089e8, #005ebd);
  box-shadow: 0 5px 12px rgba(0,96,190,.22);
}
.product-badges b:last-child {
  background: linear-gradient(135deg, #18c96b, #00a84e);
  box-shadow: 0 5px 12px rgba(0,168,78,.20);
}
.product-card__price strong {
  color: #f05a00;
  text-shadow: 0 3px 12px rgba(240,90,0,.10);
}
.product-card__price span {
  background: linear-gradient(135deg, #e8f5ff, #dff2ff);
  box-shadow: 0 6px 14px rgba(0,118,223,.10);
}
.selection-banner {
  border: 1px solid rgba(126,215,255,.22);
  background:
    radial-gradient(circle at 82% 20%, rgba(0,205,242,.28), transparent 20rem),
    linear-gradient(110deg, #0064c7, #003f7e 68%, #071f43);
  box-shadow: 0 24px 56px rgba(0,70,135,.21);
}
.service-strip {
  border-color: rgba(0,118,223,.14);
  background: linear-gradient(90deg, #fff, #f4faff 50%, #fff);
}
.service-strip i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #ff9500, #ff6200);
  box-shadow: 0 7px 16px rgba(255,99,0,.22);
}
.site-footer {
  background:
    radial-gradient(circle at 82% 20%, rgba(0,118,223,.07), transparent 24rem),
    linear-gradient(180deg, #f5f9fc, #eef4f8);
}
.floating-tools a, .floating-tools button {
  border-color: rgba(0,118,223,.16);
  color: #fff;
  background: linear-gradient(135deg, #ff9400, #ff6200);
  box-shadow: 0 10px 24px rgba(242,86,0,.24);
}
.catalog-hero {
  border: 1px solid rgba(99,214,255,.26);
  background:
    radial-gradient(circle at 84% 18%, rgba(0,205,242,.34), transparent 22rem),
    radial-gradient(circle at 14% 100%, rgba(255,121,0,.18), transparent 20rem),
    linear-gradient(102deg, #041e43 0 48%, #0068c3 80%, #00a4d9);
  box-shadow: 0 24px 60px rgba(5,53,101,.20);
}
.catalog-sidebar {
  border-color: rgba(0,118,223,.15);
  box-shadow: 0 18px 42px rgba(6,50,93,.12);
}
.catalog-sidebar__title { background: linear-gradient(135deg, #052654, #0071ce); }
.catalog-sidebar nav a:hover, .catalog-sidebar nav a.is-active {
  background: linear-gradient(135deg, #e9f6ff, #f3fbff);
  box-shadow: inset 3px 0 0 var(--blue);
}
.catalog-help { background: linear-gradient(135deg, #fff2e2, #fff8ef); border: 1px solid rgba(255,121,0,.16); }
.catalog-toolbar {
  border-color: rgba(0,118,223,.14);
  background: linear-gradient(135deg, #fff, #f7fbff);
  box-shadow: 0 10px 26px rgba(8,52,95,.07);
}
.cart-list, .cart-summary, .checkout-card, .checkout-summary, .account-panel, .account-stats article, .account-menu, .purchase-layout, .detail-section {
  border-color: rgba(0,118,223,.14);
  box-shadow: 0 14px 36px rgba(7,49,91,.08);
}
.purchase-price {
  border: 1px solid rgba(255,121,0,.16);
  background: linear-gradient(135deg, #fff3e7, #fff9f3);
}
.account-stats article {
  background: linear-gradient(145deg, #fff, #f2f8fd);
}
.account-stats article:nth-child(2) strong { color: var(--orange); }
.account-stats article:nth-child(3) strong { color: var(--red); }
.contact-form {
  border: 1px solid rgba(0,118,223,.13);
  background: linear-gradient(145deg, #f3f9fe, #eef6fc);
  box-shadow: 0 18px 44px rgba(8,52,94,.09);
}

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

@media (max-width: 1450px) {
  :root { --shell: min(1320px, calc(100vw - 44px)); }
  .header-main { grid-template-columns: 205px 1fr minmax(250px, 320px) auto; gap: 18px; }
  .site-logo img { width: 46px; height: 46px; }
  .desktop-nav { gap: 20px; }
  .header-action__label--optional { display: none; }
  .hero { grid-template-columns: .75fr 1.15fr 190px; }
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .catalog-product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1120px) {
  :root { --shell: min(100% - 32px, 1000px); }
  .header-main { grid-template-columns: 190px 1fr auto; min-height: 0; padding-block: 10px; row-gap: 10px; }
  /* 搜索框换到头部第二行整宽显示（淘宝式），替代此前的直接隐藏 */
  .site-search { grid-column: 1 / -1; grid-row: 2; height: 44px; }
  /* 16px 以下 iOS 聚焦输入框会自动缩放整页 */
  .site-search input { font-size: 16px; }
  .desktop-nav { justify-content: flex-end; }
  .hero { grid-template-columns: 1fr 1.25fr; min-height: auto; }
  .hero__stats { grid-column: 1/-1; grid-template-columns: repeat(3, 1fr); }
  .hero__visual { height: 430px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .purchase-layout { grid-template-columns: 1fr; }
  .purchase-gallery { max-width: 760px; margin: auto; }
  .catalog-hero { align-items: flex-start; flex-direction: column; }
  .catalog-hero__benefits { width: 100%; min-width: 0; }
  .catalog-layout { grid-template-columns: 210px minmax(0, 1fr); }
  .catalog-product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  :root { --shell: calc(100vw - 28px); }
  .header-main { grid-template-columns: 1fr auto; row-gap: 8px; padding-block: 8px; }
  .site-logo img { width: 44px; height: 44px; }
  /* height:100% 在绝对定位后会解析成头部高度，导致下拉面板装不下菜单项；改由内容撑开 */
  .desktop-nav { position: absolute; top: 100%; left: 0; right: 0; padding: 10px 18px; display: none; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2px; height: auto; background: #fff; box-shadow: 0 18px 30px rgba(20,42,68,.14); }
  .desktop-nav.is-open { display: flex; }
  .desktop-nav a { min-height: 42px; }
  .desktop-nav a::after { display: none; }
  /* 移动端顶栏：操作区改为“图标+小字”竖排，订单/客服/购物车/我的(登录)/菜单全部保留，搜索框在第二行整宽 */
  .header-action--auth-dup { display: none; }
  .header-action { flex-direction: column; justify-content: center; gap: 1px; min-height: 0; min-width: 30px; padding: 2px 5px; }
  .header-action__icon { font-size: 20px; }
  .header-action__label, .header-action__label--optional, .header-action__label--mobile {
    display: block;
    max-width: 52px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
  }
  .label-lg { display: none; }
  .label-sm { display: inline; }
  .header-login .header-action__icon { display: block; }
  .cart-badge { top: 0; left: 50%; }
  .menu-toggle { display: block; align-self: center; }
  .hero { display: flex; flex-direction: column; align-items: stretch; padding-block: 36px; }
  .hero__copy { order: 1; }
  .hero__visual { order: 2; height: 390px; }
  .hero__stats { order: 3; }
  .hero h1 { font-size: clamp(43px, 12vw, 65px); }
  .feature-band { grid-template-columns: 1fr; }
  .section { padding-block: 68px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .service-strip__inner { grid-template-columns: repeat(2, 1fr); padding-block: 12px; }
  .service-strip span:last-child { grid-column: 1/-1; }
  .selection-banner { flex-direction: column; align-items: flex-start; }
  .cart-list__head { display: none; }
  .cart-row { grid-template-columns: 28px 1fr; gap: 14px; }
  .cart-row > .cart-price, .cart-row > .cart-quantity, .cart-row > .remove-button { grid-column: 2; }
  .checkout-form { grid-template-columns: 1fr; }
  .checkout-product { grid-template-columns: 80px minmax(0, 1fr); }
  .checkout-product img { width: 80px; height: 80px; }
  .checkout-product__price { grid-column: 2; flex-direction: row; align-items: baseline; justify-content: space-between; }
  .account-stats { grid-template-columns: repeat(2, 1fr); }
  .account-layout { grid-template-columns: 1fr; }
  .account-menu { display: flex; overflow-x: auto; }
  .account-menu button { min-width: max-content; }
  .order-list article { grid-template-columns: 1fr auto; }
  .order-list article p { grid-column: 1/-1; }
  .purchase-layout { padding: 20px; }
  .purchase-gallery { grid-template-columns: 1fr; }
  .pdf-stage { height: 460px; }
  .viewer-switch { width: 100%; }
  .viewer-switch button { flex: 1; }
  .main-product-image { min-height: 360px; }
  .cad-model-stage { min-height: 360px; padding: 34px 24px; }
  .drawing-stage { min-height: 360px; padding: 48px 20px 22px; }
  .product-selection-heading { align-items: flex-start; flex-direction: column; }
  .product-parameter-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-chat-shell { grid-template-columns: minmax(0, 1fr); }
  .story-grid, .contact-section { grid-template-columns: 1fr; gap: 38px; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-sidebar { position: static; }
  .catalog-sidebar nav { display: grid; grid-template-columns: repeat(2, 1fr); }
  .catalog-help { display: none; }
  .catalog-product-grid { grid-template-columns: repeat(2, 1fr); }
  /* 聊天面板高度按视口减头部高度写死；移动端头部因搜索第二行加高约 44px，同步多减 */
  .service-chat-shell { height: calc(100vh - 200px); }
}

@media (max-width: 560px) {
  .header-actions { gap: 0; }
  .header-action { padding-inline: 3px; min-width: 26px; }
  .site-logo { gap: 8px; }
  .site-logo img { width: 38px; height: 38px; }
  .site-logo small { display: none; }
  .site-logo strong { font-size: 18px; }
  .hero__stats { grid-template-columns: 1fr; }
  .hero__visual { height: 310px; }
  .hero__visual-caption { inset: auto 15px 15px; }
  .hero__actions { flex-direction: column; }
  .feature-band { padding: 30px 22px; }
  .feature-band__products { gap: 6px; }
  .feature-band__products img { padding: 7px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card__image { height: 260px; }
  .product-card__image img { max-height: 200px; }
  .catalog-product-grid .product-card__image img { max-height: 160px; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom__inner { flex-direction: column; justify-content: center; padding-block: 15px; }
  .account-hero { flex-wrap: wrap; }
  .account-hero .button { width: 100%; margin-left: 0; }
  .account-stats { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
  .purchase-layout { padding: 13px; }
  .pdf-stage { height: 400px; }
  .main-product-image { min-height: 290px; padding: 24px; }
  .cad-model-stage { min-height: 310px; padding: 30px 18px; }
  .drawing-stage { min-height: 310px; padding: 48px 12px 18px; }
  .drawing-sheet { width: 100%; }
  .cad-model-stage__mark { width: 86px; height: 86px; font-size: 22px; }
  .cad-model-stage h3 { font-size: 20px; }
  .purchase-benefits { grid-template-columns: 1fr; }
  .product-info-grid { grid-template-columns: 1fr; }
  .product-info-grid div, .product-info-grid div:nth-child(2n), .product-info-grid div:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid #e2eaf1; }
  .product-info-grid div:last-child { border-bottom: 0; }
  .product-selection-panel { padding: 20px 16px; }
  .product-parameter-form { grid-template-columns: 1fr; }
  .purchase-actions { grid-template-columns: 1fr; }
  .service-page { width: min(100% - 20px, 1940px); padding-top: 12px; }
  .service-page .breadcrumb { margin-bottom: 12px; }
  .service-chat-shell { height: calc(100vh - 180px); min-height: 620px; grid-template-columns: 1fr; }
  .service-sidebar { display: none; }
  .service-product-context { margin-inline: 12px; grid-template-columns: 60px minmax(0, 1fr); }
  .service-product-context > img { width: 60px; height: 54px; }
  .service-product-context__price { grid-column: 2; display: flex; align-items: center; justify-content: space-between; text-align: left; }
  .service-product-context b, .service-product-context a { margin: 0; display: inline-block; }
  .service-product-context--empty { grid-template-columns: 42px minmax(0, 1fr); }
  .service-product-empty__icon { width: 42px; height: 42px; }
  .service-product-context--empty > .button { grid-column: 1 / -1; width: 100%; }
  .chat-messages { padding: 18px 12px; }
  .chat-message > div:last-child { max-width: 82%; }
  .chat-composer { padding-inline: 12px; }
  .chat-composer > div { align-items: flex-end; }
  .chat-composer span { max-width: 150px; }
  .detail-tabs { overflow-x: auto; }
  .detail-content { padding: 16px; overflow-x: auto; }
  .value-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; padding: 20px; }
  .form-wide { grid-column: auto; }
  .catalog-hero { padding: 28px 22px; }
  .catalog-hero__benefits { grid-template-columns: 1fr; }
  .catalog-hero__benefits span + span { border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .catalog-sidebar nav { grid-template-columns: 1fr; }
  .catalog-toolbar { align-items: flex-start; flex-direction: column; }
  .catalog-toolbar label, .sort-segmented { width: 100%; }
  .subseries-filter { align-items: flex-start; flex-direction: column; }
  .catalog-product-grid { grid-template-columns: 1fr; }
}
