/* ponytail: one override file keeps the cloned desktop CSS intact. */
:root {
  --mobile-gutter: 16px;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

.menu-open {
  overflow: hidden;
}

a,
button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgb(18 107 122 / 16%);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #e8a23a;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 2000;
  padding: 10px 14px;
  color: #fff;
  background: #111827;
  border-radius: 4px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.mobile-menu-button {
  display: none;
}

.nav-backdrop {
  display: none;
}

.nav-backdrop[hidden] {
  display: none;
}

.mobile-swipe-hint,
.mobile-product-hint {
  display: none;
}

/* Keep SEO-correct heading levels visually identical to the cloned site. */
.index-title h2 {
  margin: 0;
  color: var(--themeColor);
  font-size: 26px;
}

.youshi .youshi-main .youshi-item .youshi-title-row h3 {
  margin: 0;
  font-size: 24px;
  font-weight: normal;
}

.index-guanggao .index-guanggao-main .index-guanggao-left h2 {
  margin: 0;
  color: #fff;
  font-size: 30px;
  line-height: 50px;
}

.index-data .stat-num {
  display: block;
  color: #fff;
  font-size: 60px;
  font-weight: bold;
  font-variant-numeric: tabular-nums;
}

.index-data .stat-num strong {
  font-size: 18px;
}

@media (max-width: 1199px) {
  .center,
  .head-top .head-top-main,
  .head .head-main,
  .head-nav .head-nav-main,
  .ht-search .ht-search-main,
  .index-pro .inde-pro-main,
  .index-guanggao .index-guanggao-main,
  .youshi .youshi-main,
  .index-data .index-data-main,
  .index-about .index-about-main,
  .index-gongsi .index-gongsi-main,
  .index-case .index-case-main,
  .index-news .index-news-main,
  .links .links-main,
  .footer .footer-main,
  .footer .footer-copying .footer-copying-main,
  .ht-container {
    width: auto;
    max-width: 100%;
    margin-right: 24px;
    margin-left: 24px;
  }

  .head-nav .head-nav-main > ul > li > a {
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (max-width: 767px) {
  html {
    font-size: 16px;
  }

  body {
    font-size: 16px;
    line-height: 1.6;
  }

  .center,
  .head .head-main,
  .ht-search .ht-search-main,
  .index-pro .inde-pro-main,
  .index-guanggao .index-guanggao-main,
  .youshi .youshi-main,
  .index-data .index-data-main,
  .index-about .index-about-main,
  .index-gongsi .index-gongsi-main,
  .index-case .index-case-main,
  .index-news .index-news-main,
  .links .links-main,
  .footer .footer-main,
  .footer .footer-copying .footer-copying-main,
  .ht-container {
    width: auto;
    max-width: none;
    margin-right: var(--mobile-gutter);
    margin-left: var(--mobile-gutter);
  }

  .head-top {
    display: none;
  }

  .head {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: auto;
    padding: 0;
    background: #fff;
    box-shadow: 0 2px 12px rgb(15 23 42 / 12%);
  }

  .head .head-main {
    min-height: 64px;
    padding: 6px 0;
  }

  .head .head-main .head-left {
    min-width: 0;
  }

  .head .head-main .head-left a img {
    width: min(150px, 44vw);
    height: auto;
  }

  .head .head-main .head-left .head-xian,
  .head .head-main .head-left .head-title-row,
  .head .head-main .head-right {
    display: none;
  }

  .mobile-menu-button {
    display: grid;
    width: 48px;
    height: 48px;
    padding: 12px;
    background: #fff;
    border: 1px solid #dbe3f1;
    border-radius: 6px;
    place-content: center;
    gap: 5px;
  }

  .mobile-menu-button span {
    display: block;
    width: 22px;
    height: 2px;
    background: #1f2937;
    transition: transform 180ms ease, opacity 120ms ease;
  }

  .mobile-menu-button[aria-expanded='true'] span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-menu-button[aria-expanded='true'] span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-button[aria-expanded='true'] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .head-nav {
    display: none;
    position: fixed;
    top: 64px;
    right: 0;
    left: 0;
    z-index: 999;
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 12px 24px rgb(15 23 42 / 16%);
    overscroll-behavior: contain;
  }

  .head-nav.is-open {
    display: block;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 64px 0 0;
    z-index: 998;
    width: 100%;
    height: auto;
    padding: 0;
    background: rgb(15 23 42 / 46%);
    border: 0;
  }

  .head-nav .head-nav-main {
    width: auto;
    margin: 0;
  }

  .head-nav .head-nav-main > ul {
    display: block;
  }

  .head-nav .head-nav-main > ul > li {
    border-bottom: 1px solid #edf0f5;
  }

  .head-nav .head-nav-main > ul > li > a {
    display: flex;
    min-height: 52px;
    padding: 0 var(--mobile-gutter);
    align-items: center;
    color: #1f2937;
  }

  .head-nav .head-nav-main > ul > li > a.active,
  .head-nav .head-nav-main > ul > li > a:hover {
    color: #fff;
    background: var(--themeColor);
  }

  .head-nav .erji2 {
    display: none !important;
  }

  .banner {
    overflow: hidden;
  }

  .banner img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .aboutBanner {
    height: 120px;
    object-fit: cover;
  }

  .ht-search {
    border-bottom: 1px solid #e5e7eb;
  }

  .ht-search .ht-search-main {
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-color: #9ca3af transparent;
    scrollbar-width: thin;
  }

  .ht-search .ht-search-main::-webkit-scrollbar {
    height: 3px;
  }

  .ht-search .ht-search-main::-webkit-scrollbar-thumb {
    background: #9ca3af;
    border-radius: 3px;
  }

  .ht-search .ht-search-main .ht-search-left {
    display: flex;
    width: max-content;
    min-width: 100%;
    min-height: 52px;
    align-items: center;
    gap: 8px;
    padding-right: 32px;
  }

  .ht-search .ht-search-main .ht-search-left span {
    position: sticky;
    left: 0;
    z-index: 1;
    padding-right: 8px;
    background: #fff;
    white-space: nowrap;
  }

  .ht-search .ht-search-main .ht-search-left > span::after {
    content: '';
  }

  .mobile-swipe-hint {
    display: block;
    margin: 2px var(--mobile-gutter) 0;
    color: #64748b;
    font-size: 12px;
    text-align: right;
  }

  .ht-search .ht-search-main .ht-search-left a {
    display: inline-flex;
    min-height: 36px;
    padding: 0 10px;
    align-items: center;
    color: #374151;
    background: #f3f6fb;
    border-radius: 4px;
    white-space: nowrap;
  }

  .index-title {
    padding: 18px var(--mobile-gutter) 14px;
    text-align: center;
  }

  .index-title h2 {
    font-size: 24px;
  }

  .index-title p {
    display: none;
  }

  .index-pro {
    margin-top: 0;
    padding: 16px 0 28px;
  }

  .index-pro .inde-pro-main .index-pro-nav {
    overflow-x: auto;
  }

  .index-pro .inde-pro-main .index-pro-nav ul {
    width: max-content;
    min-width: 100%;
    justify-content: flex-start;
  }

  .index-pro .inde-pro-main .index-pro-nav ul li a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    white-space: nowrap;
  }

  .mobile-product-hint {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 12px;
    text-align: right;
  }

  .index-pro .inde-pro-main .index-prolist ul,
  .productlist ul,
  .caselist ul,
  .honorlist ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .index-pro .inde-pro-main .index-prolist ul li,
  .productlist ul li,
  .caselist ul li,
  .honorlist ul li {
    width: auto;
    margin: 0 !important;
  }

  .index-pro .inde-pro-main .index-prolist ul li a,
  .productlist ul li a,
  .caselist ul li a,
  .honorlist ul li a {
    display: block;
    min-height: 44px;
  }

  /* ponytail: source product artwork already prints the model name. */
  .productlist ul li a > p {
    display: none !important;
  }

  .index-pro .inde-pro-main .index-prolist ul li a .pic,
  .productlist ul li a .pic,
  .caselist ul li a .pic,
  .honorlist ul li a .pic {
    aspect-ratio: 4 / 3;
  }

  .index-pro .inde-pro-main .index-prolist ul li a .pic img,
  .productlist ul li a .pic img,
  .caselist ul li a .pic img,
  .honorlist ul li a .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .index-pro .inde-pro-main .index-prolist ul li p,
  .productlist ul li a p,
  .caselist ul li a p,
  .honorlist ul li a p {
    display: -webkit-box;
    min-height: 3em;
    overflow: hidden;
    line-height: 1.5;
    text-overflow: clip;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .index-data {
    height: auto;
    padding: 28px 0;
  }

  .index-data,
  .youshi,
  .index-guanggao,
  .index-case,
  .index-about,
  .index-gongsi,
  .index-news,
  .footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
  }

  .index-data .index-data-main ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 8px;
  }

  .index-data .stat-num {
    font-size: 36px;
  }

  .index-data .stat-num strong {
    font-size: 14px;
  }

  .index-data .index-data-main ul li p {
    font-size: 13px;
  }

  .youshi {
    padding: 36px 0;
  }

  .youshi .youshi-h2 {
    padding: 0 var(--mobile-gutter);
    font-size: 25px;
    line-height: 1.35;
  }

  .youshi .youshi-p {
    padding: 0 var(--mobile-gutter);
  }

  .youshi .youshi-main .youshi-item {
    display: flex;
    margin-bottom: 28px;
    flex-direction: column;
    gap: 16px;
  }

  .youshi .youshi-main .youshi-item:nth-child(even) .youshi-item-right {
    order: 2;
  }

  .youshi .youshi-main .youshi-item .youshi-item-left,
  .youshi .youshi-main .youshi-item .youshi-item-right {
    width: 100%;
  }

  .youshi .youshi-main .youshi-item .youshi-title-row h3 {
    font-size: 20px;
    line-height: 1.4;
  }

  .youshi .youshi-main .youshi-item .youshi-item-left ul li {
    font-size: 16px;
    line-height: 1.8;
  }

  .index-guanggao {
    padding: 32px 0;
  }

  .index-guanggao .index-guanggao-main {
    display: block;
  }

  .index-guanggao .index-guanggao-main .index-guanggao-left,
  .index-guanggao .index-guanggao-main .index-guanggao-right {
    width: 100%;
  }

  .index-guanggao .index-guanggao-main .index-guanggao-left h2 {
    font-size: 23px;
    line-height: 1.45;
  }

  .index-guanggao .index-guanggao-main .index-guanggao-right {
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .index-guanggao .index-guanggao-main .index-guanggao-right p span {
    font-size: 25px;
  }

  .index-guanggao .index-guanggao-main .index-guanggao-right a {
    min-height: 44px;
  }

  .index-about {
    height: auto;
    padding: 36px 0;
  }

  .index-about .index-about-main {
    display: flex;
    height: auto;
    flex-direction: column;
  }

  .index-about .index-about-main .index-about-left,
  .index-about .index-about-main .index-about-right {
    width: 100%;
  }

  .index-about .index-about-main .index-about-left {
    border-radius: 12px 12px 0 0;
  }

  .index-about .index-about-main .index-about-right {
    padding: 28px 24px;
    border-radius: 0 0 12px 12px;
  }

  .index-about .index-about-main .index-about-right .index-about-info {
    padding: 24px 0 0;
  }

  .index-about .index-about-main .index-about-right .index-about-info > p {
    font-size: 16px;
    line-height: 1.8;
  }

  .index-case {
    padding-bottom: 32px;
  }

  .index-news {
    padding-bottom: 36px;
  }

  .index-news .index-news-main {
    display: block;
  }

  .index-news .index-news-main .index-news-left,
  .index-news .index-news-main .index-news-right {
    width: 100%;
  }

  .index-news .index-news-main .index-news-left .pic img {
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  .index-news .index-news-main .index-news-right {
    margin-top: 20px;
  }

  .index-news .index-news-main .index-news-right ul li a {
    min-height: 88px;
  }

  .index-news .index-news-main .index-news-right ul li a .index-news-right-left {
    width: 25%;
  }

  .index-news .index-news-main .index-news-right ul li a .index-news-right-right {
    width: 72%;
  }

  .index-news .index-news-main .index-news-right ul li a .index-news-right-right p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .links {
    display: none;
  }

  .ht-container {
    display: block;
    margin-top: 0;
    margin-bottom: 0;
    padding: 28px 0 24px;
  }

  .ht-container .ht-left {
    display: none;
  }

  .ht-container .ht-right {
    width: 100%;
    min-width: 0;
  }

  .ht-container .ht-right .ht-right-title-row {
    display: block;
  }

  .ht-container .ht-right .ht-right-title-row > span {
    display: block;
    font-size: 24px;
  }

  .ht-container .ht-right .ht-right-title-row .ht-right-position {
    margin-top: 8px;
    overflow-x: auto;
    color: #374151;
    font-size: 14px;
    white-space: nowrap;
  }

  .ht-container .ht-right .ht-right-title-row .ht-right-position span {
    padding: 0;
    color: inherit;
    border: 0;
    font-size: inherit;
    font-weight: normal;
  }

  .ht-container .ht-right .ht-right-title-row .ht-right-position .position-label {
    display: none;
  }

  .ht-container .ht-right .aboutcont,
  .newscont .newscontent {
    overflow-wrap: anywhere;
    font-size: 16px;
    line-height: 1.8;
  }

  .newscont .newscont-title {
    display: block;
  }

  .newscont .newscont-title h1 {
    font-size: 24px;
    line-height: 1.4;
    text-wrap: balance;
  }

  .newscont .newscont-title ul {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
  }

  .newscont .newscont-title ul li {
    width: auto;
    margin: 0;
    color: #4b5563;
    font-size: 13px;
  }

  .newscont .newscontent table,
  .ht-container .ht-right table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }

  .newscont .PreNext {
    display: grid;
    gap: 10px;
  }

  .newscont .PreNext a,
  .newscont .PreNext span {
    min-height: 44px;
    padding: 10px;
    background: #f5f7fa;
  }

  .newslist ul li .newslink,
  .redian .redian-top {
    display: block;
  }

  .newslist ul li .newslink .news-left,
  .newslist ul li .newslink .news-container,
  .redian .redian-top .redian-topLeft,
  .redian .redian-top .redian-topRight {
    width: 100%;
  }

  .newslist ul li .newslink .news-left .news-left-img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .redian ul {
    display: block;
  }

  .redian ul li {
    width: 100%;
    margin-right: 0;
  }

  .page {
    flex-wrap: wrap;
    gap: 6px;
  }

  .page a {
    min-width: 44px;
    min-height: 44px;
    margin: 0;
  }


  .footer {
    padding-top: 32px;
  }

  .footer .footer-main .footer-cont {
    display: grid;
    gap: 28px;
  }

  .footer .footer-main .footer-cont .footer-wechat,
  .footer .footer-main .footer-cont .footer-lianxi,
  .footer .footer-main .footer-cont .footer-service {
    width: 100%;
  }

  .footer .footer-main .footer-cont .footer-wechat {
    display: none;
  }

  .footer .footer-main .footer-cont a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: inherit;
    overflow-wrap: anywhere;
  }

  .footer .footer-main .footer-nav-row {
    display: none;
  }

  .footer .footer-copying .footer-copying-main {
    display: block;
    padding: 18px 0;
    text-align: center;
  }

  .footer .footer-copying .footer-copying-main p,
  .footer .footer-copying .footer-copying-main a {
    display: block;
    font-size: 13px;
    line-height: 1.8;
  }

}

@media (max-width: 420px) {
  .productlist ul,
  .caselist ul,
  .honorlist ul {
    grid-template-columns: 1fr;
  }

  .index-news .index-news-main .index-news-left .index-news-bottom-left {
    width: 25%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
