﻿/* END 风格主题（仅参考视觉氛围，不复制对方代码/资源）
   目标：PC + 手机自适应、双语共用一套页面结构
*/

/* 设计变量 */
:root {
  --end-bg: #ffffff;
  --end-text: #1a2b44;
  --end-muted: #66758b;
  --end-border: #d9e4ef;
  --end-surface: #f4f8fc;
  --end-accent: #1a9fe8;
  --end-accent-deep: #2f58da;
  --end-container: 1432px;
  --end-gutter: 16px;
  --end-radius: 8px;
  --end-shadow: 0 10px 30px rgba(18, 68, 120, 0.08);

  /* 字体：优先系统字体，兼容中英文 */
  --end-font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
}

/* 基础重置（仅在 theme-end 下生效，避免影响旧样式回退） */
body.theme-end {
  margin: 0;
  background: var(--end-bg);
  color: var(--end-text);
  font-family: var(--end-font-sans);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body.theme-end *,
body.theme-end *::before,
body.theme-end *::after {
  box-sizing: border-box;
}

body.theme-end img {
  max-width: 100%;
/*  height: auto;*/
  display: block;
}

body.theme-end a {
  color: inherit;
  text-decoration: none;
}

body.theme-end a:hover {
  /* text-decoration: underline; */
}

/* 卡片类链接不使用默认下划线，视觉更接近电商站点 */
body.theme-end .end-cat-card:hover,
body.theme-end .end-product-card:hover,
body.theme-end .end-article-card a:hover {
  text-decoration: none;
}

/* 兼容旧主题的全局样式（overall.css / style.css）：
   旧 CSS 有大量 `body div { font: ...; line-height: 26px; color:#333; }` 之类的规则，
   会把 END 主题的排版/颜色打乱；在 theme-end 下统一重置为继承。 */
body.theme-end div {
  /* font: inherit;
  font-size: inherit; */
  color: inherit;
  line-height: inherit;
}

body.theme-end div a {
  /* font: inherit; */
}

body.theme-end ul,
body.theme-end ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* END 主题下隐藏旧站点的浮动客服/广告（避免覆盖新布局） */
body.theme-end .kefu,
body.theme-end #newkefu_right,
body.theme-end #fudong_ads {
  display: none !important;
}

body.theme-end h1,
body.theme-end h2,
body.theme-end h3,
body.theme-end h4,
body.theme-end p {
  margin: 0;
}

body.theme-end .end-container {
  max-width: var(--end-container);
  margin: 0 auto;
   padding-left: var(--end-gutter);
  padding-right: var(--end-gutter); 
}

/* 通用按钮/链接 */
body.theme-end .end-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--end-text);
}

body.theme-end .end-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--end-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
}

body.theme-end .end-btn:hover {
  text-decoration: none;
  opacity: 0.9;
}

body.theme-end .end-btn--primary {
  background: var(--end-text);
  color: #fff;
}

body.theme-end .end-btn--ghost {
  background: transparent;
  color: var(--end-text);
}

/* 首页 */
body.theme-end .end-home {
  padding-bottom: 40px;
  background: #ffffff;
}

@media (max-width: 600px) {
  body.theme-end .end-home {
    padding-bottom: 110px; /* 预留底部固定栏高度，避免内容被遮挡 */
  }
}

body.theme-end .end-home-banner {
  position: relative;
  background: #0d2b69;
}

body.theme-end .end-home-banner-slider {
  position: relative;
  aspect-ratio: 1920 / 620;
  overflow: hidden;
}

body.theme-end .end-home-banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

body.theme-end .end-home-banner-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

body.theme-end .end-home-banner-image,
body.theme-end .end-home-banner-image img {
  display: block;
  width: 100%;
  height: 100%;
}

body.theme-end .end-home-banner-media {
  display: block;
  width: 100%;
  height: 100%;
}

body.theme-end .end-home-banner-media--mobile {
  display: none;
}

body.theme-end .end-home-banner-image {
  position: relative;
  background: #123b81;
}

body.theme-end .end-home-banner-image::after {
  content: "";
  position: absolute;
  inset: 0;
/*  background: linear-gradient(180deg, rgba(4, 24, 76, 0.12), rgba(4, 24, 76, 0.2));*/
}

body.theme-end .end-home-banner-image img {
  object-fit: cover;
}

body.theme-end .end-home-banner-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  z-index: 2;
}

body.theme-end .end-home-banner-caption span {
  display: inline-block;
  max-width: 680px;
  padding: 10px 16px;
  background: rgba(8, 35, 95, 0.72);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

body.theme-end .end-home-banner-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 3;
  display: inline-flex;
  gap: 8px;
  transform: translateX(-50%);
}

body.theme-end .end-home-banner-dot {
  width: 28px;
  height: 4px;
  border: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
}

body.theme-end .end-home-banner-dot.is-active {
  background: #ffffff;
}

body.theme-end .end-home-products {
  background: #eef3f9;
  padding: 62px 0 66px;
}

body.theme-end .end-home-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

body.theme-end .end-home-section-head--center {
  justify-content: center;
}

body.theme-end .end-home-section-head h2 {
  margin: 0;
  color: #102947;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}

body.theme-end .end-home-text-link {
  color: #2e6fd2;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

body.theme-end .end-home-text-link:hover {
  text-decoration: none;
  opacity: 0.85;
}

body.theme-end .end-home-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body.theme-end .end-home-product-card {
  height: 246px;
  border: 1px solid #dce6f2;
  background: #ffffff;
  padding: 28px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body.theme-end .end-home-product-card:hover {
  text-decoration: none;
  background: linear-gradient(135deg, #26bbfd 0%, #2489ea 100%);
  border-color: #2489ea;
  color: #ffffff;
}

body.theme-end .end-home-product-copy {
  display: block;
  min-width: 0;
  min-height: 0;
}

body.theme-end .end-home-product-copy h3 {
  margin: 0;
  color: #172546;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
}

body.theme-end .end-home-product-title-main,
body.theme-end .end-home-product-title-sub {
  display: block;
}

body.theme-end .end-home-product-title-sub {
  margin-top: 6px;
  font-size: 18px;
  line-height: 1.2;
}

body.theme-end .end-home-product-card:hover .end-home-product-copy h3 {
  color: #ffffff;
}

body.theme-end .end-home-card-arrow {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #0077cc;
  color: #ffffff;
  font-size: 18px;
  line-height: 36px;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease;
}

body.theme-end .end-home-product-card:hover .end-home-card-arrow {
  background: #ffffff;
  color: #1784dc;
}

body.theme-end .end-home-product-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
}

body.theme-end .end-home-product-media {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    /*  flex: 0 0 138px;*/
    width: 180px;
    height: 130px;
    min-width: 138px;
    overflow: hidden;
}

body.theme-end .end-home-product-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(36, 137, 234, 0.12) 0%, rgba(38, 187, 253, 0.22) 100%);
    opacity: 0;
    transition: opacity 0.22s ease;
    pointer-events: none;
}

body.theme-end .end-home-product-media img {
    width: 100%;
    max-width: 180px;
    max-height: 130px;
    object-fit: contain;
}

body.theme-end .end-home-product-card:hover .end-home-product-media::after {
    opacity: 1;
}

body.theme-end .end-home-product-empty {
  display: none;
}

body.theme-end .end-home-section-action {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

body.theme-end .end-home-more-button {
  min-width: 124px;
  height: 40px;
  padding: 0 24px;
  background: #0066cc;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  line-height: 40px;
  text-align: center;
  text-decoration: none;
}

body.theme-end .end-home-more-button:hover {
  text-decoration: none;
  opacity: 0.9;
}

body.theme-end .end-home-news {
  padding: 56px 0 72px;
  background: #ffffff;
}

body.theme-end .end-home-news-layout {
  display: grid;
  grid-template-columns: minmax(0, 660px) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

body.theme-end .end-home-news-feature {
  position: relative;
  overflow: hidden;
  background: #eff4fa;
  display: block;
  text-decoration: none;
}

body.theme-end .end-home-news-feature:hover {
  text-decoration: none;
}

body.theme-end .end-home-news-feature-media {
  position: relative;
  aspect-ratio: 660 / 443;
  background: #dce8f5;
}

body.theme-end .end-home-news-feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 120, 219, 0.08) 0%, rgba(24, 112, 214, 0.26) 55%, rgba(16, 93, 191, 0.46) 100%);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
  z-index: 1;
}

body.theme-end .end-home-news-feature-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.theme-end .end-home-news-feature:hover .end-home-news-feature-media::after {
  opacity: 1;
}

body.theme-end .end-home-news-empty {
  width: 100%;
  height: 100%;
  color: #7f8fa5;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.theme-end .end-home-news-feature-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 18px 22px 20px;
  background: linear-gradient(180deg, rgba(10, 31, 75, 0) 0%, rgba(10, 31, 75, 0.78) 62%, rgba(10, 31, 75, 0.92) 100%);
}

body.theme-end .end-home-news-feature-tag {
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

body.theme-end .end-home-news-feature-copy h3 {
  margin: 10px 0 0;
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
}

body.theme-end .end-home-news-feature-copy p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  line-height: 1.6;
}

body.theme-end .end-home-news-feature-copy span {
  display: inline-block;
  margin-top: 18px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
}

body.theme-end .end-home-news-list {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 22px;
  height: 100%;
}

body.theme-end .end-home-news-item {
  min-height: 0;
  height: 100%;
  border: 0;
  background: #f8f9fa;
  padding: 20px 26px 20px 50px;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 22px;
  text-decoration: none;
}

body.theme-end .end-home-news-item:hover {
  text-decoration: none;
  background: #1f90e6;
  color: #ffffff;
}

body.theme-end .end-home-news-item.is-active {
  background: #1f90e6;
  color: #ffffff;
}

body.theme-end .end-home-news-date strong {
  display: block;
  color: #4f6988;
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
}

body.theme-end .end-home-news-date span {
  display: block;
  margin-top: 8px;
  color: #7e8ea4;
  font-size: 11px;
  line-height: 1;
}

body.theme-end .end-home-news-item.is-active .end-home-news-date strong,
body.theme-end .end-home-news-item.is-active .end-home-news-date span,
body.theme-end .end-home-news-item.is-active .end-home-news-item-copy h3,
body.theme-end .end-home-news-item.is-active .end-home-news-item-copy p,
body.theme-end .end-home-news-item.is-active .end-home-news-item-arrow,
body.theme-end .end-home-news-item:hover .end-home-news-date strong,
body.theme-end .end-home-news-item:hover .end-home-news-date span,
body.theme-end .end-home-news-item:hover .end-home-news-item-copy h3,
body.theme-end .end-home-news-item:hover .end-home-news-item-copy p,
body.theme-end .end-home-news-item:hover .end-home-news-item-arrow {
  color: #ffffff;
}

body.theme-end .end-home-news-item-copy {
  min-width: 0;
}

body.theme-end .end-home-news-item-copy h3 {
  margin: 0;
  color: #162a49;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body.theme-end .end-home-news-item-copy p {
  margin: 10px 0 0;
  color: #6e7f94;
  font-size: 12px;
  line-height: 1.5;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body.theme-end .end-home-news-item-arrow {
  color: #1f8be2;
  font-size: 20px;
  line-height: 1;
  text-align: right;
}

body.theme-end .end-home-about {
  padding: 26px 0 72px;
  background: #ffffff;
}

body.theme-end .end-home-about-layout {
  display: grid;
  grid-template-columns: minmax(0, 660px) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

body.theme-end .end-home-about-media {
  display: block;
  background: #e8f1fb;
  text-decoration: none;
  overflow: hidden;
}

body.theme-end .end-home-about-media:hover {
  text-decoration: none;
}

body.theme-end .end-home-about-media img {
  display: block;
  width: 100%;
  aspect-ratio: 660 / 443;
  object-fit: cover;
}

body.theme-end .end-home-about-copy h2 {
  margin: 0;
  color: #102947;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
}

body.theme-end .end-home-about-copy h3 {
  margin: 16px 0 0;
  color: #0066cc;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

body.theme-end .end-home-about-rich {
  margin-top: 18px;
  color: #5d6e84;
  font-size: 16px;
  line-height: 1.9;
}

body.theme-end .end-home-about-rich--lead {
  color: #0066cc;
  font-size: 32px;
}

body.theme-end .end-home-about-rich p {
  margin: 0 0 12px;
}

body.theme-end .end-home-about-rich p:last-child {
  margin-bottom: 0;
}

body.theme-end .end-home-about-copy .end-home-more-button {
  display: inline-block;
  margin-top: 24px;
}

@media (max-width: 1024px) {
  /* body.theme-end .end-home-banner-slider {
    aspect-ratio: 16 / 7;
  } */

  body.theme-end .end-home-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.theme-end .end-home-news-layout {
    grid-template-columns: 1fr;
  }

  body.theme-end .end-home-news-list {
    grid-template-rows: none;
    height: auto;
    gap: 12px;
  }

  body.theme-end .end-home-about-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 770px) {
  body.theme-end .end-home-banner-slider {
    aspect-ratio: 16 / 9;
  }

  body.theme-end .end-home-banner-media--pc.has-mobile {
    display: none;
  }

  body.theme-end .end-home-banner-media--mobile {
    display: block;
  }

  body.theme-end .end-home-banner-caption {
    bottom: 14px;
  }

  body.theme-end .end-home-banner-caption span {
    max-width: calc(100% - 32px);
    padding: 8px 12px;
    font-size: 13px;
  }

  body.theme-end .end-home-products,
  body.theme-end .end-home-news {
    padding-top: 40px;
    padding-bottom: 46px;
  }

  body.theme-end .end-home-about {
    padding-top: 18px;
    padding-bottom: 46px;
  }

  body.theme-end .end-home-section-head,
  body.theme-end .end-home-section-head--center {
    margin-bottom: 18px;
  }

  body.theme-end .end-home-section-head h2 {
    font-size: 22px;
  }

  body.theme-end .end-home-product-grid {
    grid-template-columns: 1fr;
  }

  body.theme-end .end-home-product-card {
    height: auto;
    min-height: 200px;
    padding: 16px;
  }

  body.theme-end .end-home-product-copy h3 {
    font-size: 22px;
  }

  body.theme-end .end-home-product-title-sub {
    font-size: 16px;
  }

  body.theme-end .end-home-product-bottom {
    gap: 12px;
  }

  body.theme-end .end-home-product-media {
    flex: 0 0 110px;
    width: 110px;
    height: 96px;
    min-width: 110px;
  }

  body.theme-end .end-home-product-media img {
    max-width: 110px;
    max-height: 96px;
  }

  body.theme-end .end-home-news-feature-copy h3 {
    font-size: 20px;
  }

  body.theme-end .end-home-news-item {
    grid-template-columns: 58px minmax(0, 1fr) 18px;
    gap: 12px;
    padding: 14px;
  }

  body.theme-end .end-home-news-date strong {
    font-size: 30px;
  }

  body.theme-end .end-home-news-item-copy h3,
  body.theme-end .end-home-news-item-copy p {
    white-space: normal;
  }

  body.theme-end .end-home-about-copy h2 {
    font-size: 32px;
  }

  body.theme-end .end-home-about-copy h3 {
    font-size: 18px;
  }
}

/* 顶部通知条（更接近电商站点的“信息条 + 主导航”结构） */
body.theme-end .end-topbar {
  background: #ffffff;
  color: var(--end-muted);
  border-bottom: 1px solid #eef3f8;
}

body.theme-end .end-topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

body.theme-end .end-topbar-msg {
  font-size: 12px;
  letter-spacing: 0;
  opacity: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.theme-end .end-topbar-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

body.theme-end .end-topbar-links a {
  color: var(--end-accent-deep);
  text-decoration: none;
}

body.theme-end .end-topbar-links a:hover {
  opacity: 0.85;
}

body.theme-end .end-topbar-sep {
  opacity: 0.65;
}

@media (max-width: 770px) {
  body.theme-end .end-topbar-msg {
    display: none;
  }
}

/* 顶部导航：简化为单行结构 */
body.theme-end .menu-pos.page-pos {
  position: relative !important;
  top: auto !important;
  left: 0;
  right: 0;
  width: 100% !important;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #dce6f0;
}

body.theme-end .menu-box {
  max-width: var(--end-container);
  margin: 0 auto;
  padding: 16px var(--end-gutter) 0;
  width: 100% !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.theme-end .end-header-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-height: 68px;
}

body.theme-end .end-header-decor {
  flex: 1 1 auto;
  height: 44px;
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  padding: 0 0;
}

body.theme-end .end-header-logo {
  position: absolute;
  z-index: 2;
  display: flex;
}

body.theme-end .end-header-logo img {
  display: block;
  width: auto;
}

body.theme-end .end-header-logo--cn {
  left: 0;
  top: 0;
  align-items: flex-start;
}

body.theme-end .end-header-logo--cn img {
  height: 40px;
  max-width: 150px;
}

body.theme-end .end-header-logo--en {
  right: 0;
  bottom: 0;
  align-items: flex-end;
}

body.theme-end .end-header-logo--en img {
  height: 35px;
  max-width: 165px;
}

body.theme-end .end-header-line-wrap {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
}

body.theme-end .end-header-line-wrap--left {
  align-items: flex-end;
  justify-content: flex-end;
  margin-right: -8px;
}

body.theme-end .end-header-line-wrap--right {
  align-items: flex-start;
  justify-content: flex-start;
  margin-left: -8px;
}

body.theme-end .end-header-line {
  display: block;
  width: 100%;
  height: 4px;
  background: #00b0f0;
  z-index: 0;
}

body.theme-end .end-header-line--left {
  align-self: flex-end;
}

body.theme-end .end-header-line--right {
  align-self: flex-start;
}

body.theme-end .end-header-block {
  position: relative;
  flex: 0 0 auto;
  align-self: stretch;
  width: 290px;
  height: 100%;
  background: #00b0f0;
  clip-path: polygon(0 100%, 20% 0, 100% 0, 82% 100%);
  z-index: 1;
}

body.theme-end .end-header-phone {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2B7DE1;
  text-decoration: none;
  white-space: nowrap;
}

body.theme-end .end-header-phone-icon {
  width: 30px;
  height: 30px;
  border: 2px solid #92afe3;
  border-radius: 50%;
  display: inline-block;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232f67cf' d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 .95-.27a11.36 11.36 0 0 0 3.56.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.85 21 3 13.15 3 3a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1a11.36 11.36 0 0 0 .57 3.56a1 1 0 0 1-.27.95l-2.18 2.28Z'/%3E%3C/svg%3E") center/14px 14px no-repeat;
}

body.theme-end .end-header-phone-text {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

body.theme-end .end-header-search {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 258px;
  height: 36px;
  background: #f7f9fc;
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 2px solid #2480c2;
  border-radius: 4px;
}

body.theme-end .end-header-search input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  padding: 0 12px;
  color: #506074;
  font-size: 12px;
  outline: none;
}

body.theme-end .end-header-search input::placeholder {
  color: #8b97a9;
}

body.theme-end .end-header-search-btn {
  width: 40px;
  height: 100%;
  border: 0;
  /*border-left: 1px solid #e1e7f0;*/
  background: transparent;
  cursor: pointer;
  padding: 0;
}

body.theme-end .end-icon {
  width: 16px;
  height: 16px;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
}

body.theme-end .end-icon--search {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2356687c' d='M10 2a8 8 0 0 1 6.32 12.91l4.39 4.39-1.41 1.41-4.39-4.39A8 8 0 1 1 10 2Zm0 2a6 6 0 1 0 0 12a6 6 0 0 0 0-12Z'/%3E%3C/svg%3E");
}

body.theme-end .menu-box .nav {
  width: 100% !important;
  text-align: center !important;
  padding: 0;
  position: relative;
}

body.theme-end .pc-menu {
  display: block !important;
  width: 100%;
  padding-right: 290px;
}

body.theme-end .pc-menu ul.menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 42px;
  justify-content: center;
/*  border-top: 1px solid #dce6f0;*/
  padding: 0 10px;
}

body.theme-end .pc-menu ul.menu > li {
  position: relative;
  float: none;
  margin-left: 0;
}

body.theme-end .pc-menu ul.menu > li > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--end-text) !important;
  height: 48px !important;
  padding: 0 4px !important;
  line-height: normal !important;
  font-size: 17px;
/*  font-weight: 600;*/
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  text-decoration: none;
}

body.theme-end .pc-menu ul.menu > li > a:hover,
body.theme-end .pc-menu ul.menu > li.is-active > a {
  color: var(--end-accent-deep) !important;
  border-bottom: 2px solid var(--end-accent);
}

body.theme-end .pc-menu ul.menu > li > .end-nav-dropdown {
  position: absolute;
  left: 50%;
  top: 100%;
  z-index: 120;
  min-width: 180px;
  padding-top: 0;
  display: none;
  transform: translateX(-50%);
}

body.theme-end .pc-menu ul.menu > li > div.end-nav-dropdown {
  line-height: normal !important;
  width: auto !important;
  background: transparent !important;
  visibility: hidden;
}

body.theme-end .pc-menu ul.menu > li:hover > .end-nav-dropdown {
  display: block;
  visibility: visible;
}

body.theme-end .pc-menu ul.menu > li > .end-nav-dropdown > p {
  margin: 0;
  padding: 0;
  background: transparent;
}

body.theme-end .pc-menu ul.menu > li > .end-nav-dropdown > p:before {
  display: none !important;
  content: none !important;
}

body.theme-end .pc-menu ul.menu .menu-hover {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
  white-space: normal;
  font-size: 14px;
  color: #20324a;
  background: linear-gradient(180deg, #f5fbff 0%, #edf6fd 100%);
  border: 1px solid #cfe0ec;
  box-shadow: 0 4px 12px rgba(12, 44, 84, 0.12);
}

body.theme-end .pc-menu ul.menu .menu-hover li {
  float: none !important;
  margin: 0;
  display: block;
}

body.theme-end .pc-menu ul.menu .menu-hover li a {
  display: block;
  height: auto !important;
  min-height: 0 !important;
  padding: 10px 18px !important;
  background: rgba(255,255,255,0.42) !important;
  color: #234468 !important;
  font-size: 14px;
  line-height: 1.5;
  white-space: nowrap;
  text-decoration: none;
  text-align: left;
  border-bottom: 1px solid #d8e5ef;
}

body.theme-end .pc-menu ul.menu .menu-hover li a:hover {
  background: #2B7DE1 !important;
  color: #fff !important;
  text-decoration: none;
}

body.theme-end .pc-menu ul.menu .menu-hover li:last-child a {
  border-bottom: 0;
}

body.theme-end .mob-menu {
  display: none;
}

/* 移动端：保留现有 MenuList_d1 插件，仅做轻量视觉调整 */
@media (max-width: 770px) {
  body.theme-end .pc-menu {
    display: none !important;
  }
  body.theme-end .end-header-decor {
    display: none;
  }
  body.theme-end .mob-menu .end-mobile-brand.end-header-decor {
    display: flex !important;
  }
  body.theme-end .mob-menu {
    display: block !important;
  }
  body.theme-end .menu-box {
    padding-top: 12px;
    padding-bottom: 10px;
  }
  body.theme-end .end-header-top {
    display: block;
    min-height: 58px;
  }
  body.theme-end .end-header-decor {
    width: 100%;
  }
  body.theme-end .end-header-phone,
  body.theme-end .end-header-search {
    display: none;
  }
  body.theme-end .end-header-top {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    min-height: auto;
  }
  body.theme-end .end-header-logo--cn img {
    height: 30px;
    max-width: 120px;
  }
  body.theme-end .end-header-logo--en img {
    height: 30px;
    max-width: 130px;
  }
  body.theme-end .menu-box .nav {
    width: auto !important;
  }
}

/* 移动端底部快捷栏（万原 MasterPage.master 里固定栏） */
body.theme-end .boot-lan {
  border-top: 1px solid var(--end-border);
}

body.theme-end .boot_div {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--end-text);
}

body.theme-end .boot_div img {
  width: 20px;
  height: 20px;
}

/* 页脚（Wen_MP.ascx：foot_load 输出） */
body.theme-end #div_foot_copy {
  background: var(--end-bg) !important;
  border-top: 1px solid var(--end-border);
  color: var(--end-text) !important;
}

body.theme-end #div_foot_copy .end-footer-head {
  max-width: var(--end-container);
  margin: 0 auto;
  padding: 34px var(--end-gutter) 12px;
}

body.theme-end #div_foot_copy .end-footer-head-inner {
  display: grid;
  gap: 10px;
}

body.theme-end #div_foot_copy .end-header-decor.end-footer-decor {
  flex: 1 1 auto;
  height: 44px;
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  width: 100%;
  padding: 0 ;
}

body.theme-end #div_foot_copy .end-header-logo {
  position: absolute;
  z-index: 2;
  display: flex;
}

body.theme-end #div_foot_copy .end-header-logo img {
  display: block;
  width: auto;
}

body.theme-end #div_foot_copy .end-header-logo--cn {
  left: 0;
  top: 0;
  align-items: flex-start;
}

body.theme-end #div_foot_copy .end-header-logo--cn img {
  height: 40px;
  max-width: 150px;
}

body.theme-end #div_foot_copy .end-header-logo--en {
  right: 0;
  bottom: 0;
  align-items: flex-end;
}

body.theme-end #div_foot_copy .end-header-logo--en img {
  height: 35px;
  max-width: 165px;
}

body.theme-end #div_foot_copy .end-header-line-wrap {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
}

body.theme-end #div_foot_copy .end-header-line-wrap--left {
  align-items: flex-end;
  justify-content: flex-end;
  margin-right: -8px;
}

body.theme-end #div_foot_copy .end-header-line-wrap--right {
  align-items: flex-start;
  justify-content: flex-start;
  margin-left: -8px;
}

body.theme-end #div_foot_copy .end-header-line {
  display: block;
  width: 100%;
  height: 4px;
  background: #00b0f0;
  z-index: 0;
}

body.theme-end #div_foot_copy .end-header-line--left {
  align-self: flex-end;
}

body.theme-end #div_foot_copy .end-header-line--right {
  align-self: flex-start;
}

body.theme-end #div_foot_copy .end-header-block {
  width: 290px;
  flex: 0 0 290px;
  background: transparent;
  position: relative;
  z-index: 1;
}

body.theme-end #div_foot_copy .end-header-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #00b0f0;
  clip-path: polygon(0 100%, 20% 0, 100% 0, 82% 100%);
}

body.theme-end #div_foot_copy .end-footer-quick {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  color: #1f2d3d;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 4px;
}

body.theme-end #div_foot_copy .end-footer-quick-label {
  font-weight: 700;
  color: #334155;
}

body.theme-end #div_foot_copy .end-footer-quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

body.theme-end #div_foot_copy .end-footer-quick-nav a {
  color: #1f2d3d !important;
  text-decoration: none;
  padding: 0;
}

body.theme-end #div_foot_copy .end-footer-quick-nav a:hover {
  color: #0066cc !important;
  text-decoration: none;
}

body.theme-end #div_foot_copy a {
  color: inherit !important;
}

body.theme-end #div_foot_copy a:hover {
  text-decoration: underline;
}

body.theme-end #div_foot_copy .foot_top.container {
  max-width: var(--end-container);
  margin: 0 auto;
  padding: 28px var(--end-gutter);
  border-bottom: 1px solid var(--end-border);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body.theme-end #div_foot_copy .foot-left,
body.theme-end #div_foot_copy .foot-middle,
body.theme-end #div_foot_copy .foot-right {
  padding: 0 !important;
  color: inherit !important;
  text-align: left !important;
}

body.theme-end #div_foot_copy .foot-middle {
  width: auto !important;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
}

body.theme-end #div_foot_copy .foot_list {
  float: none !important;
  margin: 0 !important;
}

body.theme-end #div_foot_copy .foot_title {
  margin: 0 0 10px;
}

body.theme-end #div_foot_copy .foot_title a {
  font-size: 12px !important;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.theme-end #div_foot_copy .foot_con li {
  margin: 0 0 6px;
}

body.theme-end #div_foot_copy .foot_con li a {
  font-size: 12px !important;
  color: var(--end-muted) !important;
}

body.theme-end #div_foot_copy .foot_con li a:hover {
  color: var(--end-text) !important;
  text-decoration: underline;
}

body.theme-end #div_foot_copy #div_foot_righ {
  width: 100% !important;
  max-width: var(--end-container);
  margin: 0 auto !important;
  padding: 18px var(--end-gutter) 90px !important;
  color: var(--end-muted) !important;
  font-size: 14px;
  line-height: 1.8;
}

@media (max-width: 770px) {
  body.theme-end #div_foot_copy .foot_top.container {
    grid-template-columns: 1fr;
  }

  body.theme-end #div_foot_copy .end-footer-decor {
    flex-wrap: wrap;
    gap: 12px;
    display:none !important;
  }

  body.theme-end #div_foot_copy .end-header-block,
  body.theme-end #div_foot_copy .end-header-line-wrap--right {
    display: none;
  }

  body.theme-end #div_foot_copy .end-header-line-wrap--left {
    margin-right: 0;
  }

  body.theme-end #div_foot_copy .end-footer-quick {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  body.theme-end #div_foot_copy .end-footer-quick-nav {
    gap: 12px 16px;
  }
}

/* 内容区：基于 SonMasterPage 的结构做通用排版 */
body.theme-end #div_son_main {
  max-width: var(--end-container);
  margin: 0 auto;
  padding: 22px var(--end-gutter) 40px;
}

body.theme-end #div_body_main {
  width: 100%;
}

body.theme-end #div_body_rt {
  width: 100%;
}

/* 列表：产品/图片（piclist/pdlist） */
body.theme-end .lightBoxW {
  width: 100%;
}

body.theme-end #photos {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px 16px;
}

body.theme-end #photos li div {
  background: var(--end-surface);
  border-radius: var(--end-radius);
  overflow: hidden;
}

body.theme-end #photos li img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.2s ease;
}

body.theme-end #photos li:hover img {
  transform: scale(1.02);
}

body.theme-end #photos li span {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

@media (max-width: 1024px) {
  body.theme-end #photos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 770px) {
  body.theme-end #photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }
}

/* 搜索页（search.aspx） */
body.theme-end #div_sear {
  max-width: var(--end-container);
  margin: 0 auto;
  padding: 22px var(--end-gutter) 60px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body.theme-end .dl_sear {
  margin: 0;
  border: 1px solid var(--end-border);
  border-radius: var(--end-radius);
  overflow: hidden;
  background: var(--end-bg);
}

body.theme-end .dl_sear dt {
  padding: 14px 14px 12px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--end-border);
}

body.theme-end .dl_sear dd {
  margin: 0;
  padding: 14px;
}

body.theme-end #ul_pro,
body.theme-end #ul_news {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.theme-end #ul_pro {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

body.theme-end #ul_pro li {
  border: 1px solid var(--end-border);
  border-radius: var(--end-radius);
  overflow: hidden;
  background: var(--end-bg);
}

body.theme-end #ul_pro .subpic img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.2s ease;
}

body.theme-end #ul_pro li:hover .subpic img {
  transform: scale(1.02);
}

body.theme-end #ul_pro .spro_tt {
  display: block;
  padding: 10px 10px 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

body.theme-end #ul_news li {
  padding: 10px 0;
  border-bottom: 1px solid var(--end-border);
}

body.theme-end #ul_news li:last-child {
  border-bottom: 0;
}

body.theme-end #ul_news li a {
  font-weight: 700;
  font-size: 13px;
  line-height: 1.45;
}

body.theme-end #ul_news li span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--end-muted);
}

body.theme-end .sear_more {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  border: 1px solid var(--end-border);
  border-radius: 999px;
  background: var(--end-bg);
  cursor: pointer;
}

body.theme-end .sear_more span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  body.theme-end #ul_pro {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 770px) {
  body.theme-end #div_sear {
    grid-template-columns: 1fr;
  }
  body.theme-end #ul_pro {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }
}

/* 会员：登录/注册 */
body.theme-end #dl_defa_logi {
  max-width: 520px;
  margin: 28px auto 60px;
  padding: 18px 18px 20px;
  border: 1px solid var(--end-border);
  border-radius: var(--end-radius);
  background: var(--end-bg);
}

body.theme-end #dl_defa_logi dt {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
}

body.theme-end #dl_defa_logi dt strong {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.theme-end #dl_defa_logi dt a {
  font-size: 12px;
  color: var(--end-muted);
}

body.theme-end .end-encrypt-note {
  margin: 22px 0 10px;
  font-size: 16px;
  font-weight: 700;
  font-style: italic;
  color: #d46500;
  line-height: 1.6;
}

body.theme-end #dl_defa_logi .dd_logct {
  margin: 12px 0;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

body.theme-end #dl_defa_logi .dd_logct span {
  width: auto !important;
  font-size: 13px;
  color: var(--end-muted);
}

body.theme-end #dl_defa_logi input[type="text"],
body.theme-end #dl_defa_logi input[type="password"] {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--end-border);
  border-radius: 10px;
  font-size: 14px;
}

body.theme-end #dl_defa_logi .dd_logi_bt {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

body.theme-end #register,
body.theme-end #div_register {
  max-width: var(--end-container);
  margin: 0 auto;
  padding-left: var(--end-gutter);
  padding-right: var(--end-gutter);
}

body.theme-end #register {
  padding-top: 26px;
}

body.theme-end #register h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.theme-end #div_register {
  padding-top: 14px;
  padding-bottom: 60px;
}

body.theme-end #div_register table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--end-border);
  border-radius: var(--end-radius);
  overflow: hidden;
  background: var(--end-bg);
}

body.theme-end #div_register tr + tr {
  border-top: 1px solid var(--end-border);
}

body.theme-end #div_register th,
body.theme-end #div_register td {
  padding: 12px 12px;
  vertical-align: top;
}

body.theme-end #div_register th {
  width: 260px;
  text-align: left;
  font-size: 13px;
  font-weight: 800;
  color: var(--end-text);
  background: #fafafa;
}

body.theme-end #div_register th span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--end-muted);
  line-height: 1.5;
}

body.theme-end #div_register input[type="text"],
body.theme-end #div_register input[type="password"] {
  width: 100% !important; /* 覆盖 WebForms 控件输出的 inline width */
  max-width: 520px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--end-border);
  border-radius: 10px;
  font-size: 14px;
}

body.theme-end #div_reg_subm {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

body.theme-end #div_reg_subm input[type="submit"] {
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--end-text);
  background: var(--end-text);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

body.theme-end #div_reg_subm input[type="reset"] {
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--end-border);
  background: transparent;
  color: var(--end-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

/* 留言（guestbook.aspx） */
body.theme-end #div_msg_hist {
  max-width: var(--end-container);
  margin: 0 auto;
  padding: 22px var(--end-gutter) 0;
}

body.theme-end #div_msg {
  max-width: 760px;
  margin: 0 auto 70px;
  padding: 0 var(--end-gutter);
}

body.theme-end #tbl_msg {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--end-border);
  border-radius: var(--end-radius);
  overflow: hidden;
  background: var(--end-bg);
}

body.theme-end #tbl_msg tr + tr {
  border-top: 1px solid var(--end-border);
}

body.theme-end #tbl_msg th,
body.theme-end #tbl_msg td {
  padding: 12px 12px;
  vertical-align: top;
}

body.theme-end #tbl_msg th {
  width: 220px;
  text-align: left;
  font-size: 13px;
  font-weight: 800;
  color: var(--end-text);
  background: #fafafa;
}

body.theme-end #tbl_msg input[type="text"],
body.theme-end #tbl_msg textarea {
  width: 100% !important;
  max-width: 520px;
  border: 1px solid var(--end-border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
}

body.theme-end #tbl_msg textarea {
  min-height: 130px;
  resize: vertical;
}

body.theme-end #tbl_msg .ip_code {
  width: 120px !important;
  max-width: none;
}

body.theme-end #div_mess_btn {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

body.theme-end #div_mess_btn input[type="button"],
body.theme-end #div_mess_btn input[type="reset"] {
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--end-border);
  background: var(--end-bg);
  color: var(--end-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

body.theme-end #div_mess_btn input[type="button"] {
  background: var(--end-text);
  color: #fff;
  border-color: var(--end-text);
}

@media (max-width: 770px) {
  body.theme-end #tbl_msg th {
    width: auto;
    display: block;
    background: transparent;
  }
  body.theme-end #tbl_msg td {
    display: block;
    padding-top: 0;
  }
}

/* 网站地图（webmap.aspx） */
body.theme-end .end-map ul {
  margin: 0 !important;
  padding: 0 0 0 16px;
  list-style: none;
}

body.theme-end .end-map > ul {
  padding-left: 0;
}

body.theme-end .end-map li {
  margin: 10px 0;
}

body.theme-end .end-map .spn_nm a {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

body.theme-end .end-map ul ul {
  margin-top: 10px !important;
  padding-left: 16px;
  border-left: 1px solid var(--end-border);
}

@media (max-width: 770px) {
  body.theme-end #div_register th {
    width: auto;
    display: block;
    background: transparent;
  }
  body.theme-end #div_register td {
    display: block;
    padding-top: 0;
  }
}

/* 列表：新闻（newslist） */
body.theme-end ul.news1 {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 16px;
}

body.theme-end ul.news1 > li {
  border: 1px solid var(--end-border);
  border-radius: var(--end-radius);
  overflow: hidden;
  background: var(--end-bg);
}

body.theme-end .snews_pic img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

body.theme-end ul.news1 > li > div {
  padding: 14px 14px 16px;
}

body.theme-end .snews_tt {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin-top: 6px;
}

body.theme-end .snews_key {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--end-muted);
}

body.theme-end .snews_more {
  display: inline-flex;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

@media (max-width: 1024px) {
  body.theme-end ul.news1 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 770px) {
  body.theme-end ul.news1 {
    grid-template-columns: 1fr;
  }
}

/* 文章详情：标题/信息条 */
body.theme-end #div_news_show h2 {
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin: 10px 0 12px;
}

body.theme-end #p_info {
  margin: 0 0 18px;
  padding: 10px 0;
  border-top: 1px solid var(--end-border);
  border-bottom: 1px solid var(--end-border);
  color: var(--end-muted);
  font-size: 13px;
}

/* 分页（AspNetPager） */
body.theme-end .pager {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

body.theme-end .pager a,
body.theme-end .pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--end-border);
  border-radius: 999px;
  font-size: 13px;
}

body.theme-end .pager span {
  background: var(--end-accent);
  color: #fff;
  border-color: var(--end-accent);
}

/* 404 页面（独立页） */
body.theme-end #div_top {
  max-width: var(--end-container);
  margin: 0 auto;
  padding: 64px var(--end-gutter) 10px;
}

body.theme-end #div_top p {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

body.theme-end #div_url {
  max-width: var(--end-container);
  margin: 0 auto;
  padding: 8px var(--end-gutter) 64px;
}

body.theme-end #div_url ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--end-muted);
}

body.theme-end #div_url li {
  margin: 10px 0;
  line-height: 1.6;
}

/* 产品详情（picshow） */
body.theme-end #div_picshow_top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 28px;
  align-items: start;
}

body.theme-end .picshow_main {
  display: block;
  border-radius: var(--end-radius);
  overflow: hidden;
  background: var(--end-surface);
}

body.theme-end .picshow_main_img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

body.theme-end .picshow_right {
  border: 1px solid var(--end-border);
  border-radius: var(--end-radius);
  padding: 18px 16px;
  background: var(--end-bg);
}

body.theme-end .picshow_right-tilte {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

body.theme-end .picshow_right-class {
  margin-top: 6px;
  font-size: 13px;
  color: var(--end-muted);
}

body.theme-end .picshow_right-intro {
  margin-top: 12px;
  color: var(--end-text);
  font-size: 14px;
  line-height: 1.7;
}

body.theme-end .picshow_right-imgAll {
  margin-top: 16px;
  position: relative;
  padding: 0 28px;
}

body.theme-end .picshow_right-imgAll_container {
  overflow: hidden;
}

body.theme-end .picshow_right-imgAll_slider {
  display: flex;
  gap: 10px;
  transition: transform 0.25s ease;
  will-change: transform;
}

body.theme-end .picshow_right-imgAll_slider img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--end-border);
  background: var(--end-surface);
  cursor: pointer;
}

body.theme-end .picshow_right-imgAll .prev-btn,
body.theme-end .picshow_right-imgAll .next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  opacity: 0.7;
  cursor: pointer;
}

body.theme-end .picshow_right-imgAll .prev-btn { left: 6px; }
body.theme-end .picshow_right-imgAll .next-btn { right: 6px; }

body.theme-end #div_picshow_content {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--end-border);
}

body.theme-end .div_picshow_content_title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

body.theme-end .div_picshow_content_title > div {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.theme-end .div_picshow_content_intro {
  color: var(--end-text);
  line-height: 1.85;
}

@media (max-width: 1024px) {
  body.theme-end #div_picshow_top {
    grid-template-columns: 1fr;
  }
}
