/* Responsive overrides shared by the header and homepage. */
.mobile-menu-toggle, .mobile-submenu-toggle { display: none; }
.case-mobile-controls { display: none; }
.mobile-copy-toggle, .mobile-gallery-hint { display: none; }
@media (max-width: 1199px) {
  body { min-width: 0; }
  .container { width: auto; margin: 0 20px; }
  .container .container { margin: 0; }
  img { max-width: 100%; }
  html[lang] .web-header > .container { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
  .web-header .topbar { width: 100%; line-height: 1.8; }
  .web-header .topbar span { display: flex; flex-wrap: wrap; align-items: center; float: none; }
  .web-header .topbar span a { padding: 8px; background: none; }
  html[lang] .web-header .logo { float: none; padding: 0; border: 0; background: none; margin: 12px 0; }
  .web-header .logo img { width: auto; height: 64px; max-width: 100%; object-fit: contain; }
  html[lang] .web-header .text { float: none; margin: 8px 0; font-size: 16px; flex: 1; }
  html[lang] .web-header .text strong { font-size: 22px; }
  html[lang] .web-header .tel { float: none; margin: 0 0 16px; }
  .web-header .tel strong { font-size: 26px; }
  .mobile-menu-toggle { display: block; width: 100%; padding: 14px 0; border: 0; background: transparent; color: white; text-align: left; font-size: 16px; cursor: pointer; }
  html[lang] .web-nav > .container > ul { display: none; padding: 0 0 16px; }
  html[lang] .web-nav.mobile-open > .container > ul { display: block; max-height: 65vh; max-height: 65dvh; overflow-y: auto; overscroll-behavior: contain; }
  html[lang] .web-nav > .container > ul > li { float: none; margin: 0; padding: 0; min-width: 0; }
  html[lang] .web-nav li a { line-height: 1.5; padding: 12px; text-align: left; overflow-wrap: anywhere; }
  .web-nav li:after, .web-nav li a:before, .web-nav li a:after { display: none; }
  .web-nav .dropdown-box, .web-nav .dropdown.open .dropdown-box { display: none; position: static; width: auto; visibility: visible; opacity: 1; background: #333; }
  .web-nav .dropdown.mobile-submenu-open .dropdown-box { display: block; }
  .web-nav { position: sticky; top: 0; z-index: 100; }
  .mobile-menu-toggle:after { content: '+'; float: right; font-size: 20px; }
  .mobile-menu-toggle[aria-expanded=true]:after { content: '−'; }
  .mobile-submenu-toggle { display: block; position: absolute; right: 0; top: 0; width: 48px; height: 48px; background: #333; color: white; border: 0; border-left: 1px solid #555; font-size: 24px; cursor: pointer; }
  html[lang] .web-nav > .container > ul > li > a { padding-right: 60px; min-height: 48px; box-sizing: border-box; border-top: 1px solid #444; }
  .mobile-menu-toggle:focus-visible, .mobile-submenu-toggle:focus-visible, .web-nav a:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
  .web-nav .dropdown-box li a { font-size: 13px; font-weight: normal; }
  .web-slideBox { width: 100%; height: auto; aspect-ratio: 1920 / 650; min-height: 140px; }
  #site-navigation:before, #site-navigation:after { display: none; }
  .web-header > .container:before, .web-header > .container:after { display: none; }
  .web-slideBox .bd li { background-size: cover; }
  .web-slideBox .hd { bottom: 10px; }
  .web-slideBox .hd li { width: 24px; height: 5px; margin: 0 5px; }
  .web-sou .hot, .web-sou .hform { float: none; }
  .web-sou .hot { line-height: 2; }
  .web-sou .hform form { display: flex; }
  .web-sou .hform input[type=text] { flex: 1; min-width: 0; width: auto; background: #f5f5f5; font-size: 16px; }
  .web-sou .hform button { flex: 0 0 49px; }
  .web-section { padding: 36px 0; }
  .web-section-title { font-size: 28px; margin-bottom: 24px; overflow-wrap: anywhere; }
  .web-section-title p { font-size: 16px; }
  .bg1:before, .bg2:before, .bg2:after, .bg3:before, .bg4:before { display: none; }
  .bg1 .web-section-title, .bg2 .web-section-title, .bg3 .web-section-title, .bg4 .web-section-title { margin-top: 0; }
  .s2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .s2:before, .s2:after { display: none; }
  .s2 li { float: none; width: auto; margin-top: 20px; }
  .s2 li .img-center { width: auto; }
  .home-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-product-copy { min-width: 0; overflow-wrap: anywhere; }
  .sl-tit { float: none; font-size: 22px; padding: 12px 0; }
  .sl-desc { display: flex; float: none; }
  .sl-desc li { width: 25%; box-sizing: border-box; }
  .sl-desc li p { font-size: 18px; line-height: 1.5; }
  .sl-tel { float: none; width: auto; }
  .sl-tel p { font-size: 28px; overflow-wrap: anywhere; }
  .gyds dl { margin-bottom: 32px; }
  .gyds dt, .gyds dl:nth-of-type(even) dt { float: none; width: auto; }
  .gyds dl:nth-of-type(odd) dt.full { margin-left: 0; }
  .gyds dt.full img { width: 100%; max-width: 100%; }
  .gyds dd, .gyds dl:nth-of-type(even) dd { margin: 0; padding: 20px 0 0; }
  .gyds dd h4 { margin-bottom: 20px; }
  .gyds dd h4 span { font-size: 26px; }
  .gyds-slide { margin-top: 20px; }
  /* Override the desktop carousel's fixed inline dimensions on touch layouts. */
  .gyds-slide .hd, .hzal-slide .hd { display: none; }
  .gyds-slide .bd, .hzal-slide .bd { width: auto; margin: 0; }
  .hzal-slide { margin: 0 20px; }
  .gyds-slide .tempWrap, .hzal-slide .bd .tempWrap { width: 100% !important; margin: 0; overflow-x: auto !important; scroll-snap-type: x mandatory; }
  .gyds-slide .bd ul, .hzal-slide .bd ul { display: flex; gap: 16px; width: 100% !important; left: 0 !important; padding: 0 !important; overflow: visible !important; }
  .gyds-slide .bd li { flex: 0 0 46%; width: auto !important; margin: 0; scroll-snap-align: start; }
  .hzal-slide .bd li { flex: 0 0 100%; min-width: 0; width: auto !important; scroll-snap-align: start; scroll-snap-stop: always; }
  .hzal-slide .bd li.clone { display: none; }
  .hzal-slide .bd li .img-center { height: auto; line-height: normal; aspect-ratio: 16 / 9; }
  .hzal-slide .bd li .img-center { background: #fff; }
  .hzal-slide .bd li .img-center img { width: 100%; height: 100%; object-fit: contain; }
  .hzal-slide .bd li .text, .hzal-slide .bd li.on .text { padding: 16px; background: #2a2a2a; color: white; }
  .hzal-slide .bd li .text h4 { padding: 0; color: white; text-align: left; }
  .hzal-slide .bd li .text h4 span, .hzal-slide .bd li.on .text h4 span { display: none; }
  .hzal-slide .bd li > a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 8px; }
  .hzal-slide .bd li .text, .hzal-slide .bd li.on .text { flex: 1; background: #fff; color: #222; }
  .hzal-slide .bd li .text h4, .hzal-slide .bd li.on .text h4 { color: #222; font-size: 17px; line-height: 1.5; margin: 0 0 8px; }
  .hzal-slide .bd li .text p, .hzal-slide .bd li.on .text p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 0; color: #777; opacity: 1; font-size: 14px; line-height: 1.7; }
  .hzal-slide .bd .tempWrap { scrollbar-width: none; }
  .hzal-slide .bd .tempWrap::-webkit-scrollbar { display: none; }
  .case-mobile-controls { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 16px; }
  .case-mobile-controls button { width: 44px; height: 44px; border: 1px solid #ddd; border-radius: 50%; color: #333; background: #fff; font-size: 24px; cursor: pointer; }
  .case-mobile-controls button:disabled { opacity: .35; cursor: default; }
  .case-mobile-controls button:focus-visible { outline: 2px solid #d82634; outline-offset: 2px; }
  .case-mobile-controls output { min-width: 48px; text-align: center; font-size: 14px; color: #666; }
  .gylc { background: none; }
  .gylc ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 0; }
  .gylc li { width: 33.333%; }
  .gylc li p { margin: 12px 0 0; font-size: 16px; }
  .news-left, .news-right { float: none; width: auto; }
  .news-box { padding: 24px; }
  .news-1 { margin-left: 0; }
  .news-1 li a { margin: 0; }
  .news-right .news-1 { display: flex; gap: 24px; }
  .txtMarquee-top { float: none; width: auto; margin: 20px 0; padding: 0; }
  .txtMarquee-top li a { display: block; overflow: hidden; text-overflow: ellipsis; }
  .news-faq { margin: 0; padding-top: 0; }
  .news-faq .cover { display: none; }
  .about-cover { height: auto; aspect-ratio: 1920 / 649; background-size: cover; margin-bottom: 24px; }
  .about-cover:after, .about-cover span { display: none; }
  .about-menu .item { margin: 0 20px 16px 0; }
  .about-menu .item span { font-size: 16px; }
  .footer { padding: 36px 0; }
  .footer-nav, .footer-contact, .footer-ewm { float: none; width: auto; padding: 0; border: 0; margin-bottom: 28px; }
  .footer-title { font-size: 24px; margin-bottom: 16px; }
  .footer-contact li { overflow-wrap: anywhere; }
  .footer-ewm { max-width: 320px; }
  .kefu { display: none; }
  .wow { visibility: visible !important; animation: none !important; }
}
@media (max-width: 600px) {
  .container { margin: 0 16px; }
  .web-header { background: #fff; }
  html[lang] .web-header > .container { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 12px; row-gap: 8px; padding: 16px 0 8px; }
  .web-header .topbar { grid-area: 2 / 1 / 3 / 3; justify-self: start; align-self: center; width: auto; font-size: 0; line-height: 1; z-index: 1; }
  .web-header .topbar span { gap: 2px; padding: 2px; background: #f4f5f6; border-radius: 6px; flex-wrap: nowrap; }
  .web-header .topbar .site-language-button { min-height: 40px; margin: 0; padding: 0 7px; border: 0; background: transparent; font-size: 0; border-radius: 4px; }
  .web-header .topbar .site-language-button:after { font-size: 12px; }
  .web-header .topbar [data-site-language=chinese_simplified]:after { content: '中文'; }
  .web-header .topbar [data-site-language=english]:after { content: 'EN'; }
  .web-header .topbar .site-language-button[aria-pressed=true] { background: #fff; box-shadow: 0 1px 4px #00000012; }
  .web-header .topbar span a { display: none; }
  html[lang] .web-header .text { grid-area: 1 / 2; margin: 0; font-size: 12px; line-height: 1.6; color: #777; }
  html[lang] .web-header .text strong { font-size: 19px; margin-bottom: 4px; line-height: 1.4; color: #252525; }
  html[lang] .web-header .logo { grid-area: 1 / 1; margin: 0; }
  .web-header .logo img { width: 64px; height: 60px; }
  html[lang] .web-header .tel { grid-area: 2 / 1 / 3 / 3; justify-self: end; display: block; margin: 0; padding: 0; background: none; }
  .web-header .tel span { display: none; }
  .web-header .tel strong { margin: 0; font-family: Arial, sans-serif; font-size: 18px; line-height: 1.4; }
  .web-header .tel a { color: #d82634; display: flex; align-items: center; gap: 6px; min-height: 44px; }
  .web-header .tel a:before { content: ''; width: 18px; height: 18px; background: url('../image/tel.png') center / contain no-repeat; }
  .web-header a:focus-visible, .web-header button:focus-visible { outline: 2px solid #d82634; outline-offset: 2px; }
  .mobile-menu-toggle { padding: 12px 0; min-height: 48px; font-size: 14px; }
  .mobile-menu-toggle > span:first-child { margin-right: 8px; }
  .web-sou { padding: 12px 0; }
  .web-sou .hot { display: flex; gap: 10px; overflow-x: auto; white-space: nowrap; padding: 0 0 8px; font-size: 12px; }
  .web-sou .hot > * { flex-shrink: 0; }
  .web-sou .hot:not(:has(a)) { display: none; }
  .web-sou .hform input[type=text] { border-radius: 6px 0 0 6px; }
  .web-sou .hform button { height: 44px; background-color: #d82634; background-position: center; border-radius: 0 6px 6px 0; }
  .web-section { padding: 28px 0; }
  .web-section-title { line-height: 1.5; margin-bottom: 18px; }
  .web-section-title p, .s1 { font-size: 14px; line-height: 1.8; }
  .home-product-grid { margin-top: 18px; gap: 12px; }
  .home-product-grid li a { min-height: 170px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.06); overflow: hidden; }
  .home-product-copy { padding: 16px 6px 16px 14px; }
  .home-product-copy h4 { font-size: 16px; }
  .home-product-copy p { font-size: 13px; line-height: 1.7; margin-bottom: 12px; }
  .home-product-image { width: 43%; padding: 8px; }
  .home-product-image img { height: 140px; }
  .home-product-more { color: #d82634; }
  .home-products-action { margin-top: 20px; }
  .home-products-button { border-radius: 6px; }
  .gylc li .img-center { height: 104px; line-height: 90px; background-size: auto 104px; }
  .gylc li .img-center img { max-width: 48px; max-height: 48px; object-fit: contain; }
  .gylc li p { font-size: 14px; }
  .gyds dd h4 span { font-size: 22px; margin-left: 70px; }
  .gyds dd p { font-size: 14px; }
  .news-box { padding: 20px 16px; border-radius: 8px; }
  .news-1 li h4 { white-space: normal; line-height: 1.6; margin-bottom: 10px; }
  .footer-nav li a { line-height: 1.5; padding-top: 12px; padding-bottom: 12px; }
  .web-section-title { font-size: 24px; }
  .home-product-grid { grid-template-columns: minmax(0, 1fr); }
  .s2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sl-desc { flex-wrap: wrap; gap: 20px 0; }
  .sl-desc li { width: 50%; }
  .gylc li { width: 50%; }
  .news-right .news-1 { display: block; }
  .news-1 li { float: none; width: 100%; margin-top: 20px; }
  .about-pic li { width: 50%; margin-bottom: 16px; }
  .about-desc dt { font-size: 20px; }
  .web-link li { overflow-wrap: anywhere; }
  /* Homepage rhythm: compact sections, readable copy and stable touch targets. */
  .home-page .web-section-title { font-size: 23px; line-height: 1.45; overflow-wrap: break-word; }
  .home-page .web-section-title > i { width: 40px; height: 46px; line-height: 42px; background-size: contain; margin-bottom: 8px; }
  .home-page .web-section-title > i img { max-width: 22px; max-height: 24px; }
  .home-page .web-section-title > img[src=''] { display: none !important; }
  .home-page .web-section-title p { font-size: 13px; margin-top: 8px; color: #777; }
  .home-page .s1:empty { display: none; }
  .home-page .s2 { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 8px; }
  .home-page .s2 li { margin-top: 0; scroll-snap-align: start; }
  .home-page .s2 img { display: block; width: 100%; height: auto; }
  .mobile-gallery-hint { display: block; margin: 8px 0 0; color: #888; font-size: 12px; text-align: center; }
  .home-page .bg2 { background-color: #262b36; background-blend-mode: multiply; background-size: cover; }
  .home-page .bg2 .web-section-title { text-align: center; }
  .home-page .sl-tit { order: 2; padding: 8px 0 0; font-size: 15px; line-height: 1.7; }
  .home-page .sl-desc { border: 0; gap: 20px 0; }
  .home-page .sl-desc li { border: 0; }
  .home-page .sl-desc li p { font-size: 16px; }
  .home-page .sl-tel { margin-top: 24px; padding-top: 16px; border-top: 1px solid #ffffff26; text-align: center; }
  .home-page .sl-tel span { opacity: .8; font-size: 13px; }
  .home-page .sl-tel p { padding: 4px 0 0; background: none; font-size: 24px; }
  .home-page .gyds dl { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid #eee; }
  .home-page .gyds dl:last-child { border: 0; padding-bottom: 0; margin-bottom: 0; }
  .home-page .gyds dt { border-radius: 8px; overflow: hidden; }
  .home-page .gyds dt img { display: block; width: 100%; max-height: 240px; object-fit: contain; }
  .home-page .gyds dd h4 { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
  .home-page .gyds dd h4 i { flex: 0 0 40px; width: 40px; line-height: 46px; font-size: 24px; background-size: contain; }
  .home-page .gyds dd h4 span { margin: 0; font-size: 22px; }
  .home-page .gyds dd p, .home-page .about-desc dd { font-size: 14px; line-height: 1.9; color: #666; }
  .mobile-readable-copy:not(.is-expanded) > p { display: none; }
  .mobile-readable-copy:not(.is-expanded) > p:first-child { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; margin: 0; }
  .mobile-copy-toggle { display: inline-block; min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: #c7212d; font: inherit; font-size: 14px; cursor: pointer; }
  .mobile-copy-toggle:focus-visible { outline: 2px solid #d82634; outline-offset: 2px; }
  .home-page .gyds-slide { margin-top: 12px; }
  .home-page .hzal-slide { margin: 0 16px; }
  .home-page .gylc ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 8px; }
  .home-page .gylc ul:before, .home-page .gylc ul:after { display: none; }
  .home-page .gylc li { width: auto; float: none; }
  .home-page .gylc li:last-child:nth-child(3n+1) { grid-column: 2; }
  .home-page .gylc li .img-center { height: 82px; line-height: 72px; background-size: auto 82px; }
  .home-page .gylc li .img-center img { max-width: 36px; max-height: 36px; }
  .home-page .gylc li p { margin-top: 8px; font-size: 13px; }
  .home-page .news-box { box-shadow: none; margin-bottom: 16px; }
  .home-page .news-left .news-box { background: #fff; }
  .home-page .news-left .news-tit { color: #333; }
  .home-page .news-left .news-tit a { background-image: url('../image/new_more2.png'); }
  .home-page .news-tit { font-size: 20px; line-height: 1.5; }
  .home-page .news-tit a { width: 44px; height: 44px; background-position: center; background-repeat: no-repeat; }
  .home-page .news-left .news-1 { padding-top: 0; }
  .home-page .news-left .news-1 .img-center { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; }
  .home-page .news-left .news-1 img { width: 100%; height: 100%; object-fit: cover; }
  .home-page .news-1 li p { height: auto; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-height: 1.8; }
  .home-page .news-1 li + li { padding-top: 16px; border-top: 1px solid #eee; }
  .home-page .news-1 li span { font-family: inherit; font-size: 12px; background: none; text-align: left; }
  .home-page .txtMarquee-top { margin: 12px 0; }
  .home-page .txtMarquee-top .tempWrap { height: auto !important; }
  .home-page .txtMarquee-top ul { top: 0 !important; height: auto !important; }
  .home-page .txtMarquee-top .clone { display: none; }
  .home-page .txtMarquee-top li { height: auto !important; line-height: 1.6; white-space: normal; border-top: 1px solid #eee; }
  .home-page .txtMarquee-top li a { padding: 12px 0; color: #555; }
  .home-page .news-faq .btn { width: auto; text-align: center; text-indent: 0; background: #d82634; border-radius: 6px; line-height: 44px; }
  .home-page .about-cover { aspect-ratio: 16 / 7; margin-bottom: 20px; }
  .home-page .about-desc { margin-bottom: 16px; }
  .home-page .about-desc dd { margin-top: 12px; }
  .home-page .about-menu { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
  .home-page .about-menu:before, .home-page .about-menu:after { display: none; }
  .home-page .about-menu .item { margin: 0; padding: 8px 12px; background: #f5f5f5; border-radius: 6px; }
  .home-page .about-menu .item img { width: 20px; height: 20px; object-fit: contain; margin-right: 6px; }
  .home-page .about-menu .item span { font-size: 14px; font-weight: normal; }
  .home-page .web-link { padding: 12px 0 0 !important; }
  .home-page .web-link h4 { font-size: 16px; line-height: 44px; }
  .home-page .web-link h4 small { font-size: 12px; }
  .home-page .web-link ul { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 8px 0 0; }
  .home-page .web-link li { margin: 0; padding: 0; }
  .home-page .web-link a { display: block; padding: 8px 0; font-size: 13px; }
  .home-page .footer { padding: 24px 0; }
  .home-page .footer-title, html[lang=en] .home-page .footer-title { font-size: 19px; margin-bottom: 12px; }
  .home-page .footer-title small { display: none; }
  .home-page .footer-nav, .home-page .footer-contact { margin-bottom: 24px; }
  .home-page .footer-nav ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 8px; }
  .home-page .footer-nav li { float: none; width: auto; }
  .home-page .footer-nav li a { padding: 12px 0; font-size: 13px; }
  .home-page .footer-contact li { font-size: 13px; padding-top: 8px; padding-bottom: 8px; }
  .home-page .footer-ewm { margin: 0; max-width: none; }
  .home-page .footer-ewm ul { margin: 0; display: flex; gap: 20px; }
  .home-page .footer-ewm li { width: calc(50% - 10px); max-width: 125px; }
  .home-page .footer-ewm li .wrap { margin: 0; }
  .home-page .footer-ewm li p, html[lang=en] .home-page .footer-ewm li p { padding: 0; background: none; text-align: center; font-size: 12px; margin-top: 8px; }
}
