/* Mobile experience. Desktop styles remain owned by style.css. */
.mobile-home, .mobile-bottom, .mobile-category, .mobile-product-nav, .mobile-call, .mobile-page-sub { display: none; }
.product-picture { display: contents; }
.copyright-mobile { display: none; }
.about-more { display: none; }
.banner-dots button { display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; width: 54px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.banner-dots button::before { content: ""; width: 30px; height: 5px; border-radius: 3px; background: rgba(13,61,110,.28); }
.banner-dots button.on::before { background: var(--green); width: 44px; }
@media (max-width: 1024px) {
  /* Inherit the desktop palette from style.css. */
  :root { --radius: 14px; }
  html { scroll-padding-top: 96px; }
  body { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 15px; padding-bottom: calc(70px + env(safe-area-inset-bottom)); overflow-wrap: break-word; }
  .container { width: calc(100% - 28px); max-width: 720px; }
  .topbar { display: none; }
  .header { box-shadow: none; border-bottom: 1px solid #e3ecf5; }
  .header .container { height: 80px; gap: 12px; }
  .logo { flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; min-width: 0; }
  .logo img { height: auto; width: 144px; }
  .logo::after { display: none; }
  .logo .logo-text { display: block; border: 0; padding: 0; line-height: 1.4; }
  .logo .cn-name { display: block; color: var(--green-deep); font-size: 14px; font-weight: 600; letter-spacing: .25px; line-height: 1.4; white-space: nowrap; }
  .logo .en-name, .logo .logo-text > br { display: none; }
  .nav-toggle { width: 44px; height: 44px; flex: 0 0 44px; border: 0; }
  .nav { max-height: calc(100dvh - 148px); padding: 12px 18px 20px; box-shadow: 0 22px 28px #0d3d6e18; }
  .nav > li > a { padding: 0 14px; color: var(--green-deep); font-size: 16px; line-height: 54px; }
  .nav .dropdown, .nav .dropdown.cols { display: none; }
  body.mobile-menu-open { overflow: hidden; }
  .mobile-bottom { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; z-index: 110; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--green-line); padding: 7px 8px calc(7px + env(safe-area-inset-bottom)); }
  .mobile-bottom a { min-height: 50px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3px; font-size: 11px; line-height: 1.5; color: #4a6480; }
  .mobile-bottom svg, .mobile-scenarios svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-bottom a[aria-current] { color: var(--green); font-weight: 700; background: #e8f2fb; border-radius: 10px; }
  a:focus-visible, button:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 3px solid #1e78c8; outline-offset: 3px; }
  .mobile-home { display: block; background: #fff; }
  .banner { display: block; height: clamp(220px, 50vw, 300px); }
  .banner .slide { background-size: cover; background-position: center; }
  .banner .cap { left: 44px; max-width: calc(100% - 88px); }
  .banner .cap-kicker { display: none; }
  .banner .cap h2 { font-size: clamp(25px, 5.8vw, 32px); line-height: 1.45; letter-spacing: 0; text-wrap: balance; }
  .banner .cap p { font-size: 13px; line-height: 1.85; max-width: 36em; }
  .banner-arrows { display: block; }
  .banner-arrows a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; line-height: 1; top: 50%; bottom: auto; transform: translateY(-50%); background: transparent; border: 0; font-size: 20px; }
  .banner-arrows a::before { content: ""; position: absolute; width: 28px; height: 28px; border: 1px solid rgba(30,120,200,.35); border-radius: 50%; pointer-events: none; }
  .banner-arrows a:hover, .banner-arrows a:active { background: transparent; color: var(--green-dark); }
  .banner-arrows .prev { left: 4px; }
  .banner-arrows .next { right: 4px; }
  .banner-dots { display: flex; justify-content: center; align-items: center; bottom: 0; gap: 0; line-height: 0; }
  .banner-dots button { width: 24px; height: 36px; }
  .banner-dots button::before, .banner-dots button.on::before { width: 8px; height: 8px; border-radius: 50%; }
  .mobile-scenarios { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 756px; margin: auto; padding: 10px 8px; }
  .mobile-scenarios a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 12px; color: #14569a; min-height: 64px; border-right: 1px solid #cfe2f4; }
  .mobile-scenarios a:last-child { border-right: 0; }
  .mobile-scenarios svg { width: 27px; height: 27px; color: var(--green); }
  .section, .section.gray { padding: 18px 0; background: #fff; }
  .section.gray { background: var(--bg); }
  .sec-bar { display: block; position: relative; margin-bottom: 12px; }
  .sec-bar .sb-left { min-width: 0; }
  .sec-bar .sb-left h2 { padding-right: 88px; }
  .sec-head { margin-bottom: 16px; }
  .section:has(.case-card) .sec-head { display: none; }
  .section:has(.sec-head):has(.case-card) { padding-top: 8px; }
  .sec-head .sub { font-size: 14px !important; margin-top: 6px; }
  .sec-bar .en, .sec-head .en, .about-text > .en { display: none; }
  .sec-bar .sb-left h2, .about-text h2, .sec-head h2 { font-size: 23px; color: var(--green-deep); line-height: 1.4; letter-spacing: 0; }
  .sec-bar .line { width: 25px; height: 3px; background: var(--green); margin: 10px 0; }
  .sec-bar .line::after, .sec-head .line::after { display: none; }
  .sec-bar .sub { font-size: 13px; line-height: 1.7; white-space: normal; word-break: normal; overflow-wrap: normal; text-align: left; }
  .sec-bar .sb-more { position: absolute; right: 0; top: 0; font-size: 12px; min-height: 44px; display: flex; align-items: center; gap: 5px; padding: 0; }
  .sec-bar .sb-more i { width: 25px; height: 25px; line-height: 25px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-card { border: 1px solid #dbe7f1; border-radius: 12px; box-shadow: none; background: white; }
  .product-card .pic { height: auto; aspect-ratio: 6 / 5; background: #fff; padding: 0; }
  .product-card .pic img,
  .product-card[href="products.html#cat=pharma"] .pic img { width: 100%; height: 100%; object-fit: cover; padding: 0; }
  .product-card .txt { padding: 7px 8px; }
  .product-card .txt h3 { font-size: 13px; line-height: 1.5; color: var(--green-deep); min-height: 0; padding: 0; margin: 0; }
  .product-card .txt p { display: none; }
  .product-card:hover, .case-card:hover { transform: none; }
  .about-wrap { display: flex; flex-direction: column; gap: 14px; }
  .about-facility { width: 100%; }
  .about-text { position: relative; }
  .about-text h2 { padding-right: 100px; }
  .about-text > .btn { display: none; }
  .about-more { position: absolute; right: 0; top: 2px; display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--text2); font-size: 12px; font-weight: 400; letter-spacing: 0; box-shadow: none; }
  .about-more i { width: 25px; height: 25px; line-height: 25px; margin-left: 6px; font-style: normal; }
  .about-more:hover, .about-more:active { background: transparent; color: var(--green); }
  .about-text p { font-size: 14px; line-height: 1.9; text-align: left; }
  .about-stats { grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 16px 0; padding-top: 14px; }
  .about-stats .stat { border-left: 2px solid var(--green-line); padding-left: 14px; }
  .about-stats .stat b { color: var(--green); font-size: 26px; }
  .btn { border-radius: 8px; min-height: 44px; }
  .grid-4:has(.case-card) { grid-template-columns: 1fr; gap: 12px; }
  .case-card { display: block; border: 1px solid #dbe7f1; border-radius: 10px; box-shadow: none; overflow: hidden; background: #fff; }
  .case-card .pic { width: 100%; height: auto; min-height: 0; aspect-ratio: 3 / 2; }
  .case-card .pic img { height: 100%; width: 100%; object-fit: cover; }
  .case-card .txt { padding: 10px 12px; }
  .case-card .txt h3 { font-size: 15px; line-height: 1.55; margin-bottom: 4px; }
  .case-card .txt p { display: block; font-size: 12px; line-height: 1.65; }
  .page-banner { height: clamp(150px, 35vw, 220px); min-height: 150px; background-size: cover; background-position: center; }
  .page-banner .pb-inner { position: static; transform: none; width: calc(100% - 36px); max-width: 720px; margin: auto; padding: 28px 0 25px; text-align: left; }
  .page-banner h1 { font-size: 28px; color: var(--green-deep); letter-spacing: 0; text-shadow: none; line-height: 1.4; }
  .page-banner .pb-inner > p:not(.mobile-page-sub) { display: block; font-size: 12px; letter-spacing: 1.5px; }
  .page-banner .mobile-page-sub { display: none; color: var(--text2); font-size: 13px; margin: 8px 0 0; letter-spacing: 0; }
  .crumb { position: static; background: #fff; border-bottom: 1px solid #dbe7f1; }
  .crumb .container { padding: 0; min-height: 44px; justify-content: center; }
  .crumb-path { display: none; }
  .crumb:not(:has(.crumb-tabs)) { display: none; }
  .crumb-tabs { width: 100%; display: flex; flex-wrap: nowrap; gap: 4px; overflow-x: auto; }
  .crumb-tabs a { min-height: 44px; display: flex; align-items: center; padding: 6px 12px; white-space: nowrap; font-size: 13px; }
  .products-layout { display: flex; flex-direction: column; gap: 0; }
  .products-layout > .side-col, .products-layout > .p-detail { width: 100%; }
  .mobile-enhanced .side-list, .mobile-enhanced .side-contact { display: none; }
  .mobile-category { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; width: 100%; padding: 0; }
  .category-tab { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 44px; padding: 4px 2px; border: 1px solid #e1eaf4; border-radius: 8px; background: #f6f9fd; color: #476581; font-size: 12px; line-height: 1.4; white-space: nowrap; }
  .category-tab[aria-current="true"] { border-color: #1e78c8; background: #e8f2fb; color: #14569a; font-weight: 600; }
  .category-tab:active { background: #e8f2fb; }
  .mobile-enhanced .side-col { position: sticky; top: 80px; z-index: 65; background: #fff; padding: 8px 0; margin: -8px 0 4px; }
  .p-head { display: flex; flex-direction: column; border-radius: 0; box-shadow: none; margin-bottom: 16px; }
  .p-head .p-pic { width: 100%; aspect-ratio: 4 / 3; max-height: 270px; background: #fff; }
  .p-head .p-pic img { object-fit: contain; }
  .p-head .p-info { padding: 14px 0 0; }
  .p-head h1 { font-size: 22px; line-height: 1.5; color: var(--green-deep); }
  .p-head .p-sub { margin-bottom: 12px; font-size: 12px; }
  .p-head .p-intro { font-size: 14px; line-height: 1.9; text-align: left; }
  .p-detail#pd-parts .p-info { padding: 14px 0; }
  .p-detail#pd-parts .p-pic { margin: 0; width: 100%; }
  .mobile-product-nav { display: flex; gap: 5px; overflow-x: auto; margin: 0 0 12px; border-bottom: 1px solid var(--green-line); }
  .mobile-product-nav a { flex: 0 0 auto; display: flex; align-items: center; min-height: 44px; padding: 8px 10px; font-size: 13px; color: var(--green); }
  .p-sec { padding: 16px 0; border-radius: 0; box-shadow: none; border-top: 1px solid #dbe7f1; margin: 0; overflow: visible; scroll-margin-top: 205px; }
  .p-sec h3 { font-size: 18px; padding-left: 10px; border-color: var(--green); }
  .p-sec ul.feat li { padding: 9px 0 9px 20px; font-size: 14px; text-align: left; }
  .mobile-table-scroll { overflow: auto; max-width: 100%; border: 1px solid var(--green-line); border-radius: 8px; scrollbar-width: auto; }
  .mobile-table-scroll:focus-visible { outline-offset: -3px; }
  .spec-table { margin: 0; font-size: 12px; }
  .spec-table th { background: #e8f2fb; color: var(--green-deep); }
  .spec-table td, .spec-table th { padding: 11px 10px; }
  .mobile-table-hint { display: block; font-size: 12px; color: #4a6480; margin: 0 0 9px; }
  .mobile-call { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--green); color: #fff; border-radius: 12px; padding: 16px; margin-bottom: 14px; }
  .mobile-call strong { font-family: Arial, sans-serif; font-size: clamp(22px, 6vw, 30px); line-height: 1.5; display: block; }
  .mobile-call small { font-size: 12px; opacity: .9; }
  .mobile-call > span { flex: 0 0 auto; border: 1px solid #ffffff70; border-radius: 7px; padding: 8px 10px; font-size: 13px; }
  .contact-cards { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
  .section:has(.contact-cards) { padding-top: 8px; }
  .section:has(.contact-cards) .sec-head { display: none; }
  .section:has(.contact-cards) .mobile-call { margin-bottom: 10px; }
  .contact-cards .contact-card:nth-child(2) { display: none; }
  .section:has(.contact-cards) .contact-cards { margin-bottom: 0; }
  .contact-card { text-align: left; border: 1px solid #dbe7f1; box-shadow: none; padding: 14px 16px; border-radius: 10px; }
  .contact-card .ic { display: none; }
  .contact-card h4 { font-size: 16px; margin-bottom: 8px; }
  .contact-card p { font-size: 14px; }
  .section:has(.contact-cards) .contact-card { padding: 12px 14px; }
  .section:has(.contact-cards) .contact-card h4 { margin-bottom: 4px; }
  .map-box { margin-top: 14px; }
  .section:has(.contact-cards) .map-box { margin-top: 10px; padding: 0; box-shadow: none; border-radius: 10px; overflow: hidden; }
  .section:has(.contact-cards) .map-tip { display: none; }
  #mapBox > span:first-of-type { left: 50% !important; top: 22% !important; padding: 6px 8px !important; font-size: 11px !important; }
  #mapBox > span:last-of-type { right: 8px !important; bottom: 8px !important; padding: 8px 10px !important; font-size: 11px; }
  .map-tip { font-size: 12px; }
  .about-block { padding: 16px 14px; margin-bottom: 16px; box-shadow: none; border: 1px solid var(--green-line); scroll-margin-top: 96px; }
  .about-block p { text-align: left; font-size: 14px; line-height: 1.9; }
  #honor.about-block, #patent.about-block { padding: 12px 8px; margin-bottom: 12px; }
  #honor .block-title, #patent .block-title { margin-bottom: 12px; }
  #honor p, #patent p { margin-bottom: 8px; line-height: 1.75; }
  .gallery { margin-top: 10px !important; }
  .gallery-view { box-shadow: none; border-radius: 6px; }
  .gallery-stage { display: block; height: auto; background: #fff; }
  .gallery-stage img { display: block; width: 100%; height: auto; max-height: none; max-width: 100%; object-fit: contain; }
  .gallery-nav { position: absolute; inset: 0; pointer-events: none; }
  .gallery-nav .prev { left: 6px; }
  .gallery-nav .next { right: 6px; }
  .gallery-nav a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; line-height: 1; top: 50%; transform: translateY(-50%); background: transparent; border: 0; color: var(--green-dark); font-size: 20px; pointer-events: auto; }
  .gallery-nav a::before { content: ""; position: absolute; width: 28px; height: 28px; border: 1px solid rgba(30,120,200,.35); border-radius: 50%; pointer-events: none; }
  .gallery-nav a:hover, .gallery-nav a:active { background: transparent; color: var(--green-dark); }
  .gallery-cap, .gallery-thumbs { display: none; }
  .svc-steps { grid-template-columns: 1fr; gap: 12px; }
  .section:has(.svc-idea) { padding-top: 8px; }
  .section:has(.svc-idea) .mobile-call { margin-bottom: 10px; }
  .svc-idea > h2 { display: none; }
  .svc-idea .idea-tags { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0 0 10px; }
  .svc-idea .idea-tags span { padding: 6px 2px; border-radius: 6px; font-size: 12px; letter-spacing: 0; text-align: center; }
  .svc-idea p + p { margin-top: 8px; }
  .svc-steps[style] { margin-bottom: 14px !important; }
  .svc-step { text-align: left; padding: 16px; border: 1px solid var(--green-line); box-shadow: none; }
  .svc-step .num { float: left; margin: 0 16px 8px 0; font-size: 28px; color: var(--green); }
  .svc-step p { font-size: 14px; }
  .svc-idea { padding: 12px; margin-bottom: 14px; background: #e8f2fb; color: var(--green-deep); }
  .svc-idea h2, .svc-idea p { color: var(--green-deep); }
  .svc-net { padding: 16px; }
  .svc-net h3[style], .svc-net p[style] { margin-bottom: 10px !important; }
  .svc-net img { height: auto; }
  .footer { margin-top: 0; padding-top: 0; background: #f0f7fd; border-top: 1px solid var(--green-line); }
  .footer .f-main { display: none; }
  .footer .f-main > div:not(:first-child) { display: none; }
  .footer .f-main > div:first-child > p, .footer .f-logo { display: none; }
  .footer h4 { font-size: 12px; color: #4a6480; margin: 0; padding: 0; font-weight: 500; letter-spacing: 0; }
  .footer h4::after { display: none; }
  .footer .f-bottom { display: flex; align-items: center; justify-content: center; gap: 2px; width: calc(100% - 8px); padding: 12px 0; border-top: 0; font-size: clamp(8.5px, 2.65vw, 13px); line-height: 1.5; white-space: nowrap; color: #3d5874; }
  .footer .copyright-full, .footer .f-bottom .icp-link { display: inline; font-size: inherit; line-height: inherit; }
  .footer .copyright-mobile { display: none; }
  .float-bar { right: 14px; bottom: calc(88px + env(safe-area-inset-bottom)); box-shadow: none; border-radius: 50%; }
  .float-bar > a { display: none; }
  .float-bar button { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--green); border: 1px solid var(--green-line); box-shadow: 0 3px 12px #0d3d6e12; }
}
@media (max-width: 359px) {
  .container { width: calc(100% - 28px); }
  .logo img { width: 132px; }
  .logo .cn-name { font-size: 13px; letter-spacing: 0; }
  .mobile-call { padding: 20px 14px; gap: 8px; }
  .mobile-call strong { font-size: 22px; }
}
@media (min-width: 640px) and (max-width: 1024px) {
  .grid-4:has(.case-card) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
