:root {
  --teal: #16a1b3;
  --teal-dark: #0d8c9b;
  --red: #e71920;
  --dark: #03032a;
  --text: #555;
  --muted: #999;
  --bg: #f5f5f5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Microsoft YaHei", Arial, sans-serif;
  background: #fff;
  font-size: 14px;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 1140px;
  max-width: calc(100vw - 40px);
  margin: 0 auto;
}

.top-menu {
  height: 34px;
  line-height: 34px;
  border-bottom: 1px solid #eee;
  background: #fdfdfd;
  color: #666;
  font-size: 12px;
}

.top-menu-inner,
.logo-search-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-search-inner {
  height: 170px;
}

.flag {
  display: inline-block;
  width: 22px;
  height: 14px;
  margin: 0 6px;
  vertical-align: -2px;
}

.flag.cn {
  background: #e22828;
}

.flag.en {
  background: linear-gradient(#c33 0 14%, #fff 14% 28%, #c33 28% 42%, #fff 42% 56%, #c33 56% 70%, #fff 70% 84%, #c33 84%);
}

.lang-img {
  width: 22px;
  height: 14px;
  margin: 0 6px;
  vertical-align: -2px;
  object-fit: cover;
}

.language-link {
  color: #666;
}

.language-link:hover {
  color: var(--teal);
}

.logo-search {
  height: 170px;
  background: #fff;
}

.brand-logo img {
  width: 522px;
  max-width: 55vw;
  display: block;
}

.brand-text {
  display: block;
  line-height: 1.3;
}

.brand-text strong {
  display: block;
  color: #2b2b3a;
  font-size: 36px;
  letter-spacing: 2px;
}

.brand-text em {
  display: block;
  color: #4a4a5a;
  font-style: normal;
  font-size: 19px;
  letter-spacing: 0.5px;
}

.search-box {
  display: flex;
  width: 360px;
  height: 40px;
  margin-top: -38px;
  border: 1px solid var(--teal);
}

.search-box input {
  flex: 1;
  border: 0;
  padding: 0 12px;
  outline: none;
  color: #777;
}

.search-box button {
  width: 48px;
  border: 0;
  color: #fff;
  background: var(--teal);
  font-size: 24px;
  cursor: pointer;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 62px;
  background: rgba(22, 161, 179, 0.92);
}

.nav-toggle {
  display: none;
}

.small-search {
  display: none;
}

.nav-list {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list > li {
  position: relative;
}

.nav-list a {
  display: block;
  min-width: 120px;
  height: 62px;
  line-height: 62px;
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-list > li:hover > a,
.nav-list > li.active-li:hover > a,
.nav-list > li:hover > a.active {
  background: #fff;
  color: var(--teal);
}

.nav-list > li.active-li > a,
.nav-list a.active {
  color: #fff;
}

.nav-list i {
  position: absolute;
  right: 12px;
  top: 22px;
  color: #fff;
  font-style: normal;
  font-size: 12px;
}

.submenu {
  position: absolute;
  left: 0;
  top: 62px;
  z-index: 80;
  min-width: 160px;
  padding: 0;
  margin: 0;
  list-style: none;
  background: #fff;
  border: 1px solid #e6eaec;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.submenu li {
  position: relative;
}

.submenu a {
  min-width: 160px;
  height: 46px;
  line-height: 46px;
  font-size: 15px;
  color: #444;
  font-weight: 400;
}

.submenu a:hover {
  color: var(--teal);
  background: #f2f8f9;
}

.submenu a.active {
  color: var(--teal);
  background: #eef6f8;
}

.submenu .submenu {
  left: 100%;
  top: 0;
}

.nav-list li:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-slider {
  position: relative;
  height: clamp(220px, 30.21vw, 580px);
  overflow: hidden;
}

.bx-wrapper,
.bx-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.bx-loading {
  display: none;
}

.hero-slider ul {
  display: flex;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.5s ease;
}

.hero-slider li {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
}

.hero-slider li.show {
  z-index: 1;
}

.hero-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-text {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 3;
  width: 60%;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 4.5%;
  box-sizing: border-box;
  color: #fff;
  background: linear-gradient(90deg, rgba(6, 15, 40, 0.86) 0%, rgba(6, 15, 40, 0.72) 45%, rgba(6, 15, 40, 0) 100%);
}

.hero-text h2 {
  margin: 0 0 14px;
  font-size: clamp(22px, 3.6vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.5px;
}

.hero-text .hero-sub {
  margin: 0 0 16px;
  font-size: clamp(14px, 1.7vw, 27px);
  color: #d7e6ff;
}

.hero-text .hero-desc {
  font-size: clamp(12px, 1.15vw, 18px);
  line-height: 1.9;
  color: #bcd3f5;
  white-space: pre-line;
}

.slider-dots,
.bx-pager {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 8;
}

.slider-dots button,
.bx-pager button {
  width: 14px;
  height: 14px;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 50%;
  background: transparent;
  color: transparent;
  cursor: pointer;
}

.slider-dots button.active,
.bx-pager button.active {
  background: #fff;
}

.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 42px;
  height: 42px;
  margin-top: -21px;
  border: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.slider-prev {
  left: 28px;
}

.slider-next {
  right: 28px;
}

.flash:hover .slider-prev,
.flash:hover .slider-next,
.slider-prev:focus,
.slider-next:focus {
  opacity: 1;
}

.slider-prev:hover,
.slider-next:hover {
  background: rgba(22, 161, 179, 0.9);
}

.section-head {
  padding: 45px 0 34px;
  text-align: center;
}

.section-head h2 {
  margin: 0;
  color: #333;
  font-size: 30px;
  line-height: 1.15;
}

.section-head p {
  margin: 8px 0 0;
  color: #999;
  font-size: 13px;
  text-transform: uppercase;
}

.product-bg {
  min-height: 500px;
  padding-bottom: 30px;
  background: var(--bg);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
  gap: 36px;
}

.product-item img {
  width: 176px;
  height: 161px;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 3px;
  background: #fff;
  object-fit: cover;
}

.product-item p {
  margin: 12px 0 0;
  text-align: center;
  color: #666;
  font-size: 16px;
}

.advantage-bg {
  padding-bottom: 26px;
}

.advantage-head {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 30px;
  padding: 28px 20px 16px;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, #19b6ca, var(--teal));
  clip-path: polygon(0 0, 100% 0, 74% 100%, 26% 100%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.advantage-head h2 {
  margin: 0;
  font-size: 22px;
}

.advantage-head strong {
  font-size: 32px;
}

.advantage-head p {
  margin: 8px 0 0;
  color: #d9fbff;
}

.advantage-item {
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: center;
  min-height: 370px;
  border: 1px solid #ddd;
  border-top: 0;
}

.advantage-item.reverse {
  grid-template-columns: 55% 45%;
}

.advantage-item.reverse .adv-img {
  order: 2;
}

.adv-img,
.adv-copy {
  padding: 34px;
}

.adv-img img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  display: block;
}

.adv-copy h3 {
  margin: 0 0 22px;
  color: var(--teal);
  font-size: 30px;
}

.adv-copy p {
  color: #999;
  line-height: 2;
  font-size: 15px;
  white-space: pre-line;
}

.more-btn {
  display: inline-block;
  margin-top: 22px;
  width: 180px;
  height: 42px;
  line-height: 42px;
  text-align: center;
  color: #fff;
  background: var(--teal);
  font-weight: 700;
}

.case-box {
  padding: 50px 0 20px;
  background: var(--dark);
  background-position: center center;
  background-repeat: no-repeat;
}

.case-box .section-head h2,
.case-box .section-head p {
  color: #fff;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
}

.case-item img {
  width: 100%;
  height: 220px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  object-fit: cover;
  background: #fff;
}

.case-item p {
  color: #fff;
  text-align: center;
  font-size: 16px;
}

.news-box {
  padding-bottom: 30px;
}

.news-list {
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.news-list li {
  display: grid;
  grid-template-columns: 88px 1fr 30px;
  align-items: center;
  gap: 18px;
  min-height: 78px;
  border-bottom: 1px solid #eee;
}

.news-list time {
  text-align: center;
  color: #999;
}

.news-list strong {
  display: block;
  color: #555;
  font-size: 30px;
  line-height: 1;
}

.news-list a {
  color: #555;
  font-size: 16px;
}

.page-bg-ref {
  height: 170px;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.subpage-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 30px;
  padding: 30px 0 42px;
}

.subpage-main {
  order: 2;
  min-width: 0;
}

.subpage-side {
  order: 1;
}

.list-box,
.left-nav,
.left-news-box,
.index-contact {
  margin-bottom: 24px;
}

.left-h {
  position: relative;
  margin: 0 0 15px;
  padding: 0 0 12px 16px;
  border-bottom: 1px solid #ddd;
  color: var(--teal-dark);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
}

.left-h::before {
  position: absolute;
  left: 0;
  top: 2px;
  width: 6px;
  height: 24px;
  background: var(--teal);
  content: "";
}

.left-nav-ul,
.left-snav-ul,
.left-news-list,
.list-news {
  margin: 0;
  padding: 0;
  list-style: none;
}

.left-nav-ul > li {
  position: relative;
  border-bottom: 1px solid #e5e5e5;
}

.left-nav-ul .biglink {
  display: block;
  height: 44px;
  padding-left: 12px;
  color: #555;
  line-height: 44px;
  background: #f7f7f7;
}

.left-nav-ul .biglink::before {
  margin-right: 6px;
  color: #999;
  content: "›";
}

.left-nav-ul .biglink:hover {
  color: #fff;
  background: var(--teal);
}

.left-nav-ul li.current .biglink {
  color: #555;
  background: #f7f7f7;
}

.menu-head {
  position: absolute;
  top: 0;
  right: 10px;
  height: 44px;
  color: #999;
  line-height: 44px;
}

.menu-head-generic {
  display: none;
}

.left-news-list li,
.list-news li {
  position: relative;
  min-height: 42px;
  border-bottom: 1px dashed #ddd;
  line-height: 42px;
}

.left-news-list a {
  display: block;
  color: #666;
}

.left-news-list a:hover,
.list-news a:hover {
  color: var(--teal);
}

.list-news li {
  padding-right: 120px;
}

.list-news a {
  color: #555;
  font-size: 14px;
}

.sub-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  padding: 30px 6px 20px;
}

.sub-product-item,
.sub-case-item {
  text-align: center;
}

.sub-product-item img {
  width: 175px;
  height: 160px;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 3px;
  background: #fff;
  object-fit: cover;
}

.sub-product-item p,
.sub-case-item p {
  margin: 12px 0 0;
  color: #555;
  font-size: 15px;
}

.sub-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 30px;
  padding: 30px 0 20px;
}

.sub-case-item img {
  width: 100%;
  height: 178px;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 3px;
  background: #fff;
  object-fit: contain;
}

.product-detail-ref {
  display: grid;
  grid-template-columns: 46% 1fr;
  gap: 36px;
  padding: 30px 0 28px;
  border-bottom: 1px dotted #ccc;
}

.product-gallery-ref {
  text-align: center;
}

.product-main-img {
  width: 166px;
  height: 151px;
  padding: 5px;
  border: 1px solid #ddd;
  object-fit: cover;
}

.product-thumb-img {
  display: block;
  width: 42px;
  height: 42px;
  margin: 10px auto 0;
  padding: 2px;
  border: 1px solid #1b64d8;
  object-fit: cover;
}

.product-summary-ref h3 {
  margin: 6px 0 44px;
  padding-bottom: 12px;
  border-bottom: 1px dotted #ccc;
  color: var(--teal-dark);
  font-size: 18px;
}

.product-summary-ref p,
.product-body-ref,
.about-content-ref,
.contact-content-ref,
.article-detail-ref {
  color: #333;
  line-height: 2;
  font-size: 15px;
}

.product-body-ref {
  padding: 22px 0 8px;
  border-bottom: 1px dotted #ccc;
}

.about-content-ref {
  white-space: pre-line;
}

.order-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 18px;
  color: #fff;
  background: var(--teal);
  font-weight: 700;
}

.prev-next-ref {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 20px 18%;
  color: #333;
}

.prev-next-ref span:last-child {
  text-align: right;
}

.prev-next-ref a {
  color: #06c;
}

.related-h {
  margin-top: 26px;
}

.case-detail-ref {
  padding: 28px 0;
  border-bottom: 1px dotted #ccc;
}

.case-detail-ref img {
  width: 261px;
  height: 174px;
  padding: 5px;
  border: 1px solid #ddd;
  background: #fff;
  object-fit: contain;
}

.case-detail-ref p {
  margin: 14px 0;
  color: #333;
}

.case-body-ref {
  margin: 18px 0 8px;
  color: #555;
  font-size: 14px;
  line-height: 1.9;
}

.article-detail-ref h1 {
  margin: 18px 0;
  color: #333;
  font-size: 22px;
  text-align: center;
}

.news-time {
  position: absolute;
  top: 0;
  right: 0;
  color: #999;
}

.index-contact {
  color: #666;
  line-height: 1.9;
}

.index-contact p {
  margin: 0 0 6px;
}

.page-banner {
  height: 210px;
  color: #fff;
  background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url("/uploads/hero-2.svg") center/cover;
}

.page-banner h1 {
  margin: 0;
  padding-top: 64px;
  font-size: 34px;
}

.detail-page,
.contact-page {
  min-height: 360px;
  padding: 48px 0;
  line-height: 2;
}

.detail-date {
  color: #999;
}

.detail-with-image {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: start;
}

.detail-with-image img {
  width: 100%;
  padding: 5px;
  border: 1px solid #ddd;
  background: #fff;
}

.sitemap-page ul {
  margin: 0;
  padding-left: 20px;
}

.sitemap-page li {
  position: static;
  line-height: 2.2;
}

.sitemap-page a {
  display: inline;
  width: auto;
  height: auto;
  line-height: inherit;
  color: var(--teal);
  text-align: left;
  font-size: 15px;
  font-weight: 400;
}

.sitemap-page .submenu {
  position: static;
  display: block;
  min-width: 0;
  padding-left: 20px;
  background: transparent;
}

.sitemap-tree-ref {
  padding: 28px 0 30px 70px;
  color: #666;
  line-height: 1.35;
  font-size: 15px;
}

.sitemap-tree-ref p {
  margin: 0 0 8px;
}

.search-page {
  min-height: 420px;
}

.search-result-form {
  display: grid;
  grid-template-columns: auto 1fr 58px;
  gap: 10px;
  align-items: center;
  max-width: 680px;
  margin-bottom: 24px;
}

.search-result-form label {
  color: #333;
  font-weight: 700;
}

.search-result-form input {
  height: 38px;
  border: 1px solid #ddd;
  padding: 0 12px;
  outline-color: var(--teal);
}

.search-result-form button {
  height: 38px;
  border: 0;
  color: #fff;
  background: var(--teal);
  cursor: pointer;
  font-size: 20px;
}

.search-count {
  color: #999;
}

.search-results {
  margin: 0;
  padding: 0;
  list-style: none;
}

.search-results li {
  padding: 18px 0;
  border-bottom: 1px solid #eee;
}

.search-results span {
  display: inline-block;
  margin-right: 12px;
  padding: 2px 8px;
  color: #fff;
  background: var(--teal);
  font-size: 12px;
}

.search-results a {
  color: #333;
  font-size: 17px;
  font-weight: 700;
}

.search-results p {
  margin: 8px 0 0;
  color: #999;
  line-height: 1.8;
}

.footer {
  padding: 18px 0;
  color: #fff;
  background: var(--teal);
  font-size: 13px;
  text-align: center;
}

.footer p {
  margin: 6px 0;
}

.float-tools {
  position: fixed;
  right: 12px;
  bottom: 20px;
  display: none;
  gap: 6px;
  z-index: 90;
}

.float-tools a,
.share-button {
  width: 42px;
  height: 42px;
  line-height: 42px;
  text-align: center;
  color: #fff;
  background: var(--teal);
  font-size: 12px;
}

.share-button {
  display: block;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.share-tools {
  position: relative;
}

.share-menu {
  position: absolute;
  right: 48px;
  bottom: 0;
  display: none;
  width: 150px;
  border: 1px solid #ddd;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

.share-tools.open .share-menu,
.share-tools:hover .share-menu {
  display: block;
}

.share-menu a {
  display: block;
  width: auto;
  height: 34px;
  line-height: 34px;
  padding: 0 12px;
  color: #555;
  background: #fff;
  text-align: left;
}

.share-menu a:hover {
  color: #fff;
  background: var(--teal);
}

.admin-body {
  background: #f5f5f5;
}

.sr-only {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0 !important;
}

.admin-page {
  padding: 38px 0;
}

.admin-page h1 {
  margin: 0 0 8px;
  color: #333;
}

.admin-tabs {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
  padding: 10px;
  border: 1px solid #ddd;
  background: #fff;
}

.admin-tabs button {
  border: 0;
  padding: 10px 16px;
  color: #555;
  background: #f3f3f3;
  cursor: pointer;
}

.admin-tabs button.active {
  color: #fff;
  background: var(--teal);
}

.admin-tab-panel {
  display: none;
}

.admin-tab-panel.active {
  display: block;
}

.admin-panel {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #ddd;
  background: #fff;
}

.admin-panel label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.admin-panel h2,
.admin-panel h3 {
  color: #333;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-form-grid h3 {
  grid-column: 1 / -1;
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid #eee;
}

.admin-field input,
.admin-field textarea {
  width: 100%;
}

.admin-field textarea {
  min-height: 90px;
}

.admin-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-share-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.admin-share-row input {
  flex: 1;
  min-width: 0;
}

.admin-share-row .admin-share-del {
  flex: 0 0 auto;
}

.admin-panel input,
.admin-panel button,
.admin-panel textarea {
  height: 38px;
  padding: 0 12px;
}

.admin-panel button {
  border: 0;
  color: #fff;
  background: var(--teal);
  cursor: pointer;
}

.admin-panel textarea {
  width: 100%;
  min-height: 620px;
  height: auto;
  padding: 12px;
  border: 1px solid #ddd;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.small-json {
  min-height: 180px !important;
}

.image-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.image-input-row input[type="file"] {
  width: 180px;
  padding-top: 7px;
}

.admin-thumb {
  display: block;
  width: 120px;
  max-height: 80px;
  margin-top: 8px;
  object-fit: contain;
  border: 1px solid #ddd;
  background: #fff;
}

.collection-card {
  border-left: 4px solid var(--teal);
}

.sticky-save {
  position: sticky;
  bottom: 0;
  z-index: 70;
  box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.08);
}

@media (max-width: 800px) {
  .nav-inner {
    display: grid;
    grid-template-columns: 1fr 56px;
    align-items: center;
  }

  .brand-text strong {
    font-size: 22px;
    letter-spacing: 1px;
  }

  .brand-text em {
    font-size: 13px;
  }

  .logo-search {
    height: auto;
    padding: 22px 0;
  }

  .logo-search-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .brand-logo img,
  .search-box {
    width: 100%;
    max-width: 100%;
  }

  .search-box {
    display: none;
    margin-top: 0;
  }

  .search-box.mobile-open {
    display: flex;
  }

  .nav-toggle {
    display: block;
    width: 100%;
    height: 52px;
    border: 0;
    color: #fff;
    background: transparent;
    font-size: 16px;
    text-align: left;
    padding-left: 16px;
  }

  .small-search {
    display: block;
    height: 52px;
    border: 0;
    color: #fff;
    background: transparent;
    font-size: 14px;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    grid-column: 1 / -1;
  }

  .nav-list.open {
    display: flex;
  }

  .nav-list a {
    width: 100%;
  }

  .submenu {
    position: static;
    background: #fff;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition: none;
  }

  .hero-slider {
    height: 260px;
  }

  .hero-text {
    width: 92%;
    max-width: none;
    padding: 0 20px;
    background: linear-gradient(90deg, rgba(6, 15, 40, 0.84) 0%, rgba(6, 15, 40, 0.6) 70%, rgba(6, 15, 40, 0.35) 100%);
  }

  .hero-text .hero-desc {
    display: none;
  }

  .slider-prev,
  .slider-next {
    opacity: 1;
  }

  .product-grid,
  .case-grid,
  .sub-product-grid,
  .sub-case-grid,
  .advantage-item,
  .advantage-item.reverse,
  .detail-with-image,
  .subpage-layout,
  .product-detail-ref {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .subpage-main,
  .subpage-side {
    order: initial;
  }

  .advantage-item.reverse .adv-img {
    order: 0;
  }

  .admin-form-grid,
  .image-input-row {
    grid-template-columns: 1fr;
  }

  .search-result-form {
    grid-template-columns: 1fr;
  }

  .float-tools {
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .float-tools a,
  .share-button {
    width: 100%;
  }

  .share-menu {
    right: auto;
    left: 0;
    bottom: 42px;
  }
}

/* Traditional admin layout */
.admin-body {
  background: #fff;
  color: #2d3941;
  font-size: 13px;
}

.admin-shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: #f4f7f9;
  color: #34424a;
  border-right: 1px solid #d9e1e6;
}

.admin-logo-block {
  padding: 22px 20px;
  border-bottom: 1px solid #dfe6ea;
  background: #fbfcfd;
}

.admin-logo-block strong {
  display: block;
  color: #25313a;
  font-size: 20px;
  line-height: 1.5;
}

.admin-logo-block span {
  display: block;
  margin-top: 4px;
  color: #7b8991;
  font-size: 12px;
}

.admin-sidebar .admin-tabs {
  position: static;
  display: block;
  margin: 0;
  padding: 12px 0;
  border: 0;
  background: transparent;
}

.admin-sidebar .admin-tabs button {
  display: block;
  width: 100%;
  height: 44px;
  padding: 0 22px;
  border: 0;
  border-left: 4px solid transparent;
  color: #3f4b54;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
}

.admin-sidebar .admin-tabs button:hover {
  color: #20313b;
  background: #e9f0f4;
}

.admin-sidebar .admin-tabs button.active {
  border-left-color: #6aa3bd;
  color: #20313b;
  background: #e2edf3;
  font-weight: 700;
}

.admin-workspace {
  min-width: 0;
  padding: 0 14px 24px;
}

.admin-workspace-head {
  margin: 0 -14px 10px;
  padding: 8px 14px;
  border-bottom: 1px solid #edf0f2;
  background: #fff;
}

.admin-workspace-head h1 {
  margin: 0;
  color: #333;
  font-size: 18px;
}

.admin-workspace-head p {
  margin: 4px 0 10px;
  color: #666;
}

.admin-auth-row {
  align-items: center;
  gap: 8px;
}

.admin-auth-row input {
  width: 220px;
}

.admin-logged-in #tokenInput,
.admin-logged-in #saveToken {
  display: none;
}

.admin-logged-in .admin-workspace-head {
  display: none;
}

#adminTip {
  margin-left: 4px;
  color: #7d888f;
  font-size: 12px;
}

.admin-technical {
  display: none !important;
}

.admin-workspace .admin-panel,
.admin-list-section {
  margin: 0 0 12px;
  padding: 0;
  border: 1px solid #edf0f2;
  background: #fff;
  box-shadow: none;
}

.admin-workspace .admin-panel h2,
.admin-list-section h2 {
  margin: 0;
  padding: 9px 10px;
  border-bottom: 1px solid #edf0f2;
  color: #2f3b43;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
}

.admin-form-grid {
  display: block;
}

.admin-field {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  min-height: 38px;
  padding: 7px 10px;
  border-bottom: 1px solid #e3e3e3;
}

.admin-field:last-child {
  border-bottom: 0;
}

.admin-field label {
  margin: 7px 0 0;
  color: #555;
  font-weight: 400;
}

.admin-menu-inputs {
  display: flex;
  gap: 8px;
}

.admin-menu-inputs input {
  flex: 1;
  min-width: 0;
}

.admin-menu-level-1 label {
  padding-left: 18px;
}

.admin-menu-level-2 label {
  padding-left: 36px;
}

.admin-field input,
.admin-field textarea {
  min-height: 28px;
  border: 1px solid #bdbdbd;
  border-radius: 0;
  background: #fff;
  font-size: 13px;
}

.admin-field textarea {
  min-height: 72px;
}

.admin-list-table {
  border-top: 0;
}

.admin-list-head {
  display: grid;
  grid-template-columns: 48px minmax(220px, 1fr) 100px 110px;
  align-items: center;
  min-height: 30px;
  border-bottom: 1px solid #edf0f2;
  background: #fff;
  color: #66727a;
  font-weight: 700;
}

.admin-list-head span {
  padding: 0 10px;
  border-right: 1px solid #f3f5f6;
  font-size: 12px;
}

.admin-list-head span:first-child,
.admin-list-head span:nth-child(3),
.admin-list-head span:nth-child(4) {
  text-align: center;
}

.admin-list-head span:last-child {
  border-right: 0;
}

.admin-list-row {
  display: grid;
  grid-template-columns: 48px minmax(220px, 1fr) 100px 110px;
  align-items: center;
  min-height: 42px;
  border-bottom: 1px solid #f1f3f4;
  background: #fff;
}

.admin-list-row:hover {
  background: #fafafa;
}

.admin-list-row:last-child {
  border-bottom: 0;
}

.admin-list-index {
  color: #888;
  text-align: center;
  font-weight: 700;
}

.admin-list-main {
  min-width: 0;
  padding: 6px 10px;
  border-left: 1px solid #f4f5f6;
  border-right: 1px solid #f4f5f6;
}

.admin-list-main strong {
  display: block;
  overflow: hidden;
  color: #333;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.admin-list-main span {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: #888;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}

.admin-list-image {
  text-align: center;
  border-right: 1px solid #f4f5f6;
}

.admin-list-thumb {
  width: 40px;
  height: 30px;
  object-fit: cover;
  border: 1px solid #ddd;
  background: #fff;
}

.admin-muted {
  color: #aaa;
  font-size: 12px;
}

.admin-list-actions {
  display: flex;
  justify-content: center;
  gap: 5px;
  text-align: center;
}

.admin-list-actions button {
  height: 24px;
  padding: 0 7px;
  border: 1px solid #c9d1d6;
  color: #33414a;
  background: #fff;
  cursor: pointer;
  font-size: 12px;
}

.admin-list-section h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-list-section h2 button {
  height: 24px;
  padding: 0 12px;
  border: 1px solid #c0c9cf;
  color: #2d3941;
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 400;
}

.admin-list-section h2 button:hover {
  background: #f5f7f8;
}

.admin-list-actions button:hover {
  border-color: #9fb0ba;
  color: #111;
  background: #f5f8fa;
}

.admin-list-editor {
  display: none;
  grid-column: 1 / -1;
  border-top: 1px solid #e4e8eb;
  background: #fcfcfc;
}

.admin-list-row.editing .admin-list-editor {
  display: none;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}

.admin-modal.active {
  display: block;
}

.admin-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.22);
}

.admin-modal-panel {
  position: absolute;
  top: 6vh;
  left: 50%;
  width: min(820px, calc(100vw - 48px));
  max-height: 88vh;
  transform: translateX(-50%);
  border: 1px solid #bfc8ce;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.admin-modal-head,
.admin-modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid #e5e8ea;
  background: #f8fafb;
}

.admin-modal-foot {
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid #e5e8ea;
  border-bottom: 0;
}

.admin-modal-primary {
  background: #c8161e;
  color: #fff;
  border: 0;
  padding: 0 22px;
  height: 32px;
  border-radius: 4px;
  cursor: pointer;
}

.admin-modal-primary:hover {
  background: #a91118;
}

.admin-modal-head strong {
  color: #2b3942;
  font-size: 14px;
}

.admin-modal-body {
  max-height: calc(88vh - 92px);
  overflow: auto;
}

.admin-modal button {
  height: 28px;
  padding: 0 12px;
  border: 1px solid #c0c9cf;
  color: #2d3941;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
}

.admin-modal button:hover {
  background: #f0f5f7;
}

.admin-row button,
.admin-panel button {
  border-radius: 0;
}

.admin-row button,
.admin-panel button,
.admin-auth-row button {
  height: 28px;
  border: 1px solid #c0c9cf;
  color: #2d3941;
  background: #fff;
  font-size: 13px;
}

.admin-row button:hover,
.admin-panel button:hover,
.admin-auth-row button:hover {
  background: #f0f5f7;
}

.image-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-thumb {
  grid-column: 2;
}

.admin-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.admin-upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 28px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #c0c9cf;
  color: #2d3941;
  background: #fff;
  cursor: pointer;
  font-weight: 400;
}

.admin-upload-btn:hover {
  background: #f0f5f7;
}

.admin-workspace .sticky-save {
  position: static;
  margin: 12px 0 0;
  padding: 8px 10px;
  border: 1px solid #edf0f2;
  background: #fff;
  box-shadow: none;
}

@media (max-width: 900px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-sidebar .admin-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-field,
  .admin-list-row {
    grid-template-columns: 1fr;
  }

  .admin-list-index {
    padding: 8px 14px;
    border-right: 0;
    text-align: left;
  }

  .admin-workspace .sticky-save {
    position: static;
    margin-top: 18px;
  }
}

/* ===== 在线留言表单 ===== */
.message-box .message-intro {
  color: #555;
  margin-bottom: 16px;
}
.form-h {
  margin-top: 28px;
}
.message-form {
  max-width: 640px;
}
.message-form .form-row {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.message-form label {
  font-size: 14px;
  color: #333;
}
.message-form .req {
  color: #d0021b;
}
.message-form input,
.message-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d6d9e0;
  border-radius: 6px;
  font: inherit;
  box-sizing: border-box;
}
.message-form textarea {
  resize: vertical;
}
.message-form input[readonly] {
  background: #f3f5f8;
  color: #666;
}
.message-form .form-actions {
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.message-form button {
  background: #c8161e;
  color: #fff;
  border: 0;
  padding: 11px 30px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
}
.message-form button:hover {
  background: #a91118;
}
.message-tip {
  color: #1a7f37;
  font-size: 14px;
}

/* ===== 列表分页 / 空状态 / 404 ===== */
.pager {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 22px 0 6px;
}
.pager-link {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #d6d9e0;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  color: #444;
}
.pager-link.active,
.pager-link:hover {
  background: #c8161e;
  border-color: #c8161e;
  color: #fff;
}
.list-empty {
  color: #888;
  padding: 30px 0;
  text-align: center;
}
.article-detail-ref > p {
  white-space: pre-line;
}

.news-photo {
  margin: 22px 0;
  text-align: center;
}

.news-photo img {
  max-width: 100%;
  border: 1px solid #eee;
}

.news-photo figcaption {
  margin-top: 8px;
  color: #888;
  font-size: 13px;
}

.notfound-box {
  text-align: center;
  padding: 50px 0;
}
.notfound-box h2 {
  font-size: 46px;
  color: #c8161e;
  margin-bottom: 10px;
}
.notfound-box p {
  color: #666;
  margin: 8px 0;
}
.notfound-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  margin: 20px 0 6px;
}
.notfound-link {
  color: var(--teal);
}
.notfound-link:hover {
  text-decoration: underline;
}
.notfound-home {
  margin-top: 16px;
}
.notfound-home a {
  display: inline-block;
  padding: 9px 26px;
  border-radius: 4px;
  color: #fff;
  background: var(--teal);
}
.notfound-home a:hover {
  background: var(--teal-dark);
}

/* ===== 后台留言管理（列表，与其它模块一致） ===== */
.admin-msg-count {
  color: #66727a;
  font-size: 12px;
  margin: 0 0 10px;
}
.admin-msg-row {
  grid-template-columns: 48px 96px 120px 104px 96px minmax(170px, 1fr) 140px 92px;
  align-items: stretch;
}
.admin-msg-name {
  display: flex;
  align-items: center;
  gap: 5px;
}
.admin-msg-name-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-msg-flag {
  flex: 0 0 auto;
}
.admin-msg-cell {
  min-width: 0;
  padding: 7px 10px;
  border-right: 1px solid #f4f5f6;
  font-size: 12px;
  color: #445159;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  align-self: center;
}
.admin-msg-content {
  white-space: normal;
  color: #333;
  line-height: 1.5;
}
.admin-msg-time {
  color: #8b949b;
}
.admin-msg-flag {
  margin-left: 6px;
  font-style: normal;
  font-size: 11px;
  color: #c8161e;
}
.admin-list-row.admin-msg-row.unread {
  background: #fffaf6;
}
.admin-list-row.admin-msg-row.unread:hover {
  background: #fff5ee;
}
.admin-list-row.admin-msg-row.unread .admin-msg-cell:first-of-type {
  font-weight: 700;
  color: #222;
}
.admin-msg-table .admin-list-actions {
  align-self: center;
}

/* ===== 后台轮播图编辑卡片 ===== */
.admin-hero-card {
  border: 1px solid #e3e6ec;
  border-radius: 6px;
  margin-bottom: 14px;
  background: #fcfdfe;
}
.admin-hero-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px solid #eef0f2;
}
.admin-hero-head strong {
  color: #2f3b43;
  font-size: 13px;
}
.admin-hero-head .admin-hero-del {
  height: 26px;
  padding: 0 12px;
  border: 1px solid #d9a7a7;
  color: #b3322e;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
}

/* ===== 后台菜单编辑(可改链接/增删) ===== */
.admin-menu-group {
  border: 1px solid #e6eaec;
  border-radius: 6px;
  margin-bottom: 10px;
  background: #fcfdfe;
}
.admin-menu-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
}
.admin-menu-row-1 {
  padding-left: 34px;
  background: #f6f9fa;
  border-top: 1px solid #eef1f3;
}
.admin-menu-tag {
  flex: 0 0 auto;
  width: 30px;
  font-size: 12px;
  color: #8a98a0;
}
.admin-menu-row input {
  height: 32px;
  padding: 0 10px;
  border: 1px solid #cdd5da;
  border-radius: 4px;
  min-width: 0;
}
.admin-menu-row input:first-of-type {
  flex: 0 0 160px;
}
.admin-menu-row input:last-of-type {
  flex: 1;
}
.admin-menu-addsub {
  flex: 0 0 auto;
  height: 30px;
  padding: 0 10px;
  border: 1px solid #bcd6cf;
  color: #0d8c9b;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
}
.admin-menu-del {
  flex: 0 0 auto;
  height: 30px;
  padding: 0 12px;
  border: 1px solid #d9a7a7;
  color: #b3322e;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
}

/* 后台登录页 */
.admin-login {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  z-index: 1000;
}

.admin-login-card {
  width: 340px;
  max-width: 88vw;
  padding: 36px 30px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(3, 3, 42, 0.08);
}

.admin-login-card h1 {
  margin: 0 0 4px;
  font-size: 22px;
  color: #333;
}

.admin-login-sub {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 13px;
}

.admin-login-field {
  display: block;
  margin-bottom: 16px;
  font-weight: 700;
  color: #555;
  font-size: 13px;
}

.admin-login-field input {
  display: block;
  width: 100%;
  margin-top: 6px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 400;
  box-sizing: border-box;
}

.admin-login-field input:focus {
  outline: none;
  border-color: var(--teal);
}

.admin-login-btn {
  width: 100%;
  height: 42px;
  border: 0;
  border-radius: 4px;
  background: var(--teal);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}

.admin-login-btn:hover {
  background: var(--teal-dark);
}

.admin-login-tip {
  margin: 14px 0 0;
  min-height: 18px;
  color: var(--red);
  font-size: 13px;
  text-align: center;
}

.admin-logout {
  margin: 16px 10px 0;
  height: 34px;
  border: 1px solid #d9a7a7;
  border-radius: 4px;
  background: #fff;
  color: #b3322e;
  cursor: pointer;
  font-size: 13px;
}

.admin-logout:hover {
  background: #fbedec;
}
