/* ========================================================
   钰双源服饰实业官网 - 全局样式
   主色：#0066bb
   页脚底色：#243447
   模块浅灰：#f4f6f8
   卡片底色：#ffffff
   标题文字：#222222
   正文文字：#555555
   页脚文字：#cccccc
   ======================================================== */

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #555555;
  background-color: #f4f6f8;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: #0066bb;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #004c8c;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 通用白色卡片容器 */
.card-box {
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  padding: 32px;
}

/* ========================================================
   顶部窄蓝色通栏
   ======================================================== */
.top-bar {
  background-color: #0066bb;
  color: #ffffff;
  font-size: 13px;
  line-height: 36px;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar a {
  color: #ffffff;
  opacity: 0.95;
}

.top-bar a:hover {
  opacity: 1;
  text-decoration: underline;
}

.top-bar .icon {
  margin-right: 6px;
  font-size: 14px;
}

/* ========================================================
   导航栏
   ======================================================== */
.header {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 50px;
  width: auto;
  max-width: 220px;   /* 限制最大宽，防止超宽 Logo 撑破导航布局 */
  max-height: 56px;   /* 限制最大高，防止超高 Logo 撑破头部并遮盖 Banner */
  object-fit: contain; /* 等比缩放完整展示，不拉伸不变形 */
}

/* BUGFIX-LOGO-OVERSIZE 双保险：导航区内任何图片一律限高限宽（免疫类结构漂移/旧缓存 CSS 缺规则导致原图尺寸遮页） */
.header img {
  max-height: 60px;
  max-width: 260px;
  width: auto;
  object-fit: contain;
}

.logo .brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo .brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #222222;
  line-height: 1.2;
}

.logo .brand-slogan {
  font-size: 12px;
  color: #777;
  line-height: 1.3;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu > li > a {
  display: block;
  padding: 0 18px;
  font-size: 15px;
  color: #222222;
  font-weight: 500;
  line-height: 80px;
  position: relative;
}

.nav-menu > li > a::after {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 22px;
  height: 2px;
  background: #0066bb;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
  color: #0066bb;
}

.nav-menu > li > a:hover::after,
.nav-menu > li > a.active::after {
  transform: scaleX(1);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box input {
  width: 200px;
  height: 36px;
  padding: 0 36px 0 14px;
  border: 1px solid #e0e0e0;
  border-radius: 18px;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s, width 0.2s;
}

.search-box input:focus {
  border-color: #0066bb;
  width: 240px;
}

.search-box button {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0066bb;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.mobile-menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  font-size: 20px;
  color: #222222;
  align-items: center;
  justify-content: center;
}

/* ========================================================
   Banner 公共
   ======================================================== */
.page-banner {
  position: relative;
  height: 320px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-banner .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.page-banner .banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
}

.page-banner h1 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.page-banner p {
  font-size: 16px;
  opacity: 0.9;
}

/* ========================================================
   首页轮播 Banner
   ======================================================== */
.home-banner {
  position: relative;
  height: 560px;
  overflow: hidden;
  background-color: #0066bb;
}

.home-banner .slides {
  position: relative;
  height: 100%;
}

.home-banner .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 1;
}

.home-banner .slide.active {
  opacity: 1;
  z-index: 2;
}

.home-banner .slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.home-banner .slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.home-banner .slide-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
}

.home-banner .slide-inner {
  color: #ffffff;
  max-width: 700px;
}

.home-banner .slide-inner h2 {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.home-banner .slide-inner p {
  font-size: 18px;
  margin-bottom: 28px;
  opacity: 0.95;
}

.home-banner .btn-banner {
  display: inline-block;
  padding: 12px 32px;
  background: #0066bb;
  color: #fff;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 500;
}

.home-banner .btn-banner:hover {
  background: #00508f;
  color: #fff;
}

.home-banner .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s;
}

.home-banner .arrow:hover {
  background: rgba(255,255,255,0.35);
}

.home-banner .arrow.prev { left: 30px; }
.home-banner .arrow.next { right: 30px; }

.home-banner .dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.home-banner .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.2s;
}

.home-banner .dot.active {
  background: #ffffff;
}

/* ========================================================
   模块标题
   ======================================================== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 32px;
  color: #222222;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: #0066bb;
  margin: 14px auto 0;
}

.section-header p {
  color: #777;
  font-size: 15px;
  max-width: 700px;
  margin: 16px auto 0;
}

/* ========================================================
   首页产品中心模块
   ======================================================== */
.section-products {
  padding: 70px 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.product-card .card-img {
  height: 220px;
  background: #f4f6f8;
  overflow: hidden;
}

.product-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .card-img img {
  transform: scale(1.05);
}

.product-card .card-body {
  padding: 20px;
}

.product-card .card-title {
  font-size: 17px;
  font-weight: 600;
  color: #222222;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card .card-text {
  font-size: 14px;
  color: #777;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.section-products .btn-more {
  display: inline-block;
  margin-top: 40px;
  padding: 12px 36px;
  border: 1px solid #0066bb;
  color: #0066bb;
  border-radius: 24px;
  font-size: 15px;
  transition: all 0.25s ease;
}

.section-products .btn-more:hover {
  background: #0066bb;
  color: #fff;
}

/* ========================================================
   首页三栏亮点模块
   ======================================================== */
.section-features {
  padding: 70px 0;
  background: #f4f6f8;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}

.feature-card .feature-img {
  height: 220px;
  overflow: hidden;
}

.feature-card .feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.feature-card:hover .feature-img img {
  transform: scale(1.05);
}

.feature-card .feature-body {
  padding: 24px;
  position: relative;
}

.feature-card h3 {
  font-size: 18px;
  color: #222222;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card h3 span {
  font-size: 12px;
  color: #999;
  margin-left: 8px;
  font-weight: 400;
}

.feature-card p {
  font-size: 14px;
  color: #777;
  line-height: 1.6;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.feature-card .corner {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-left: 44px solid transparent;
  border-bottom: 44px solid #0066bb;
  opacity: 0.85;
}

.feature-card .corner::after {
  content: '+';
  position: absolute;
  right: 8px;
  bottom: -40px;
  color: #fff;
  font-size: 20px;
  line-height: 1;
}

/* ========================================================
   合作伙伴
   ======================================================== */
.section-partners {
  padding: 60px 0;
  background: #ffffff;
}

.partner-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.partner-list img {
  height: 60px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.25s ease;
}

.partner-list img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ========================================================
   内页通用主体
   ======================================================== */
.page-section {
  padding: 60px 0;
}

.page-section.alt-bg {
  background: #f4f6f8;
}

.page-section.white-bg {
  background: #ffffff;
}

/* 关于我们 */
.about-content {
  line-height: 1.9;
  color: #555555;
  font-size: 15px;
}

.about-content p {
  margin-bottom: 16px;
}

.about-content img {
  max-width: 100%;
  border-radius: 4px;
  margin: 16px 0;
}

/* ========================================================
   产品中心
   ======================================================== */
.category-filter {
  margin-bottom: 32px;
}

.filter-group {
  margin-bottom: 20px;
}

.filter-label {
  display: inline-block;
  font-weight: 600;
  color: #222222;
  margin-right: 12px;
  margin-bottom: 10px;
}

.filter-tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-tag {
  padding: 8px 18px;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  font-size: 14px;
  color: #555555;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-tag:hover,
.filter-tag.active {
  background: #0066bb;
  border-color: #0066bb;
  color: #ffffff;
}

.empty-tip {
  text-align: center;
  padding: 60px 20px;
  color: #999;
  font-size: 15px;
  background: #ffffff;
  border-radius: 4px;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination button,
.pagination span {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e0e0e0;
  background: #ffffff;
  color: #555555;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.pagination button:hover,
.pagination span.active {
  background: #0066bb;
  border-color: #0066bb;
  color: #ffffff;
}

.pagination button:disabled {
  background: #f4f6f8;
  color: #bbb;
  cursor: not-allowed;
}

/* 产品详情 */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.product-gallery .main-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 4px;
  background: #f4f6f8;
}

.product-info h1 {
  font-size: 26px;
  color: #222222;
  margin-bottom: 16px;
}

.product-info .desc {
  color: #777;
  margin-bottom: 24px;
  line-height: 1.7;
}

.product-info .params {
  margin-bottom: 24px;
}

.product-info .param-row {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px dashed #eee;
}

.product-info .param-row:last-child {
  border-bottom: none;
}

.product-info .param-label {
  width: 100px;
  color: #999;
  font-size: 14px;
}

.product-info .param-value {
  flex: 1;
  color: #222222;
  font-weight: 500;
}

.product-detail-content {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #eee;
}

.product-detail-content h3 {
  font-size: 20px;
  color: #222222;
  margin-bottom: 20px;
  padding-left: 12px;
  border-left: 4px solid #0066bb;
}

/* 相关推荐 */
.related-products {
  margin-top: 60px;
}

/* ========================================================
   新闻
   ======================================================== */
.news-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.news-card .news-img {
  height: 200px;
  overflow: hidden;
}

.news-card .news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-img img {
  transform: scale(1.05);
}

.news-card .news-body {
  padding: 22px;
}

.news-card .news-date {
  font-size: 13px;
  color: #0066bb;
  margin-bottom: 8px;
}

.news-card h3 {
  font-size: 17px;
  color: #222222;
  font-weight: 600;
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-card p {
  font-size: 14px;
  color: #777;
  line-height: 1.6;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* 新闻详情 */
.news-detail-header {
  text-align: center;
  margin-bottom: 32px;
}

.news-detail-header h1 {
  font-size: 26px;
  color: #222222;
  margin-bottom: 12px;
}

.news-detail-header .meta {
  color: #999;
  font-size: 14px;
}

.news-detail-content {
  line-height: 1.9;
  color: #555555;
  font-size: 15px;
}

.news-detail-content img {
  max-width: 100%;
  border-radius: 4px;
  margin: 16px 0;
}

/* ========================================================
   联系我们
   ======================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info h3 {
  font-size: 20px;
  color: #222222;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #0066bb;
  display: inline-block;
}

.contact-info .info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-info .info-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: #f4f6f8;
  color: #0066bb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  font-size: 18px;
}

.contact-info .info-label {
  font-size: 13px;
  color: #999;
  margin-bottom: 2px;
}

.contact-info .info-value {
  font-size: 15px;
  color: #222222;
  font-weight: 500;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-size: 14px;
  color: #222222;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0066bb;
}

.contact-form button {
  padding: 12px 36px;
  background: #0066bb;
  color: #fff;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
}

.contact-form button:hover {
  background: #00508f;
}

/* ========================================================
   页脚
   ======================================================== */
.footer {
  background-color: #243447;
  color: #cccccc;
  padding: 60px 0 0;
}

.footer a {
  color: #cccccc;
}

.footer a:hover {
  color: #ffffff;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-block h3 {
  font-size: 17px;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-block .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-block .footer-links li {
  margin-bottom: 6px;
}

.footer-block .footer-links a {
  font-size: 14px;
}

.footer-block .contact-list li {
  display: flex;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.footer-block .contact-list .label {
  color: #888;
  min-width: 50px;
  margin-right: 8px;
}

.footer-block .qr-row {
  display: flex;
  gap: 16px;
}

.footer-block .qr-item {
  text-align: center;
}

.footer-block .qr-item img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
  padding: 4px;
  margin-bottom: 8px;
}

.footer-block .qr-item span {
  font-size: 12px;
  color: #aaa;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: #999;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ========================================================
   图片占位兜底
   ======================================================== */
.img-placeholder {
  background: linear-gradient(135deg, #eef2f5 0%, #e2e8ed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a0aab3;
  font-size: 14px;
  width: 100%;
  height: 100%;
}

/* ========================================================
   响应式
   ======================================================== */
@media (max-width: 1024px) {
  .product-grid,
  .news-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar .container {
    flex-direction: column;
    justify-content: center;
    line-height: 30px;
  }

  .header .container {
    height: 64px;
  }

  /* 移动端头部更矮：Logo 同步缩小，避免遮盖轮播 */
  .logo img {
    height: 40px;
    max-width: 150px;
    max-height: 44px;
  }

  .header img {
    max-height: 48px;
    max-width: 160px;
  }

  .logo .brand-slogan {
    display: none;
  }

  .nav-menu {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .nav-menu.open {
    max-height: 420px;
  }

  .nav-menu > li {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-menu > li > a {
    line-height: 52px;
    padding: 0 20px;
  }

  .search-box {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .home-banner {
    height: 420px;
  }

  .home-banner .slide-inner h2 {
    font-size: 28px;
  }

  .home-banner .slide-inner p {
    font-size: 15px;
  }

  .page-banner {
    height: 220px;
  }

  .page-banner h1 {
    font-size: 26px;
  }

  .product-grid,
  .feature-grid,
  .news-list {
    grid-template-columns: 1fr;
  }

  .product-detail-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .container {
    padding: 0 16px;
  }
}

/* ========================================================
   全站整改覆盖层（新增）：色彩规范 + 图片自适应 + 交互优化
   主色：深海藏蓝 / 点缀：亮暖黄 / 背景：浅灰白 #F7F8FA
   ======================================================== */
:root {
  --c-deep: #1B2F52;
  --c-deep2: #24406E;
  --c-gold: #FFB400;
  --c-gold-2: #FFC933;
  --c-bg: #F7F8FA;
  --c-text: #2A2F3A;
  --c-muted: #5B6472;
  --c-line: #E3E7EF;
}
html { scroll-behavior: smooth; }
body { background-color: var(--c-bg) !important; color: var(--c-text); }
.container { max-width: 1200px; }

/* 图片自适应：全站统一，禁止拉伸挤压变形，完整展示 */
img {
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain;
}
.img-placeholder {
  background: linear-gradient(135deg, #eef2f5, #e2e8ed);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #98a2ae;
  font-size: 14px;
  width: 100%;
  height: 100%;
}

/* 顶部导航：藏蓝主色 + 暖黄强调，取消大面积深色压抑 */
.top-bar { background: var(--c-deep) !important; }
.top-bar a, .top-bar span { color: #dfe5f0; }
.header { background: #ffffff !important; box-shadow: 0 2px 10px rgba(27,47,82,0.08); }
.header .container { border-bottom: 2px solid var(--c-gold); }
.logo .brand-name { color: var(--c-deep) !important; }
.logo .brand-slogan { color: var(--c-muted); }
.nav-menu li a { color: var(--c-deep) !important; }
.nav-menu li a:hover { color: var(--c-gold) !important; }
.nav-menu li a.active { color: var(--c-gold) !important; }

/* Banner / 轮播：减淡深色遮罩，避免整体灰暗压抑 */
.home-banner .slide-overlay { background: rgba(27,47,82,0.55); }
.home-banner .slide-inner h2 { color: #ffffff; }
.home-banner .slide-inner p { color: #e8ecf4; }
.btn-banner { background: var(--c-gold) !important; color: var(--c-deep) !important; border: none; }
.btn-banner:hover { background: var(--c-gold-2) !important; color: var(--c-deep) !important; }
.page-banner { background-color: var(--c-deep); }
.page-banner .overlay { background: rgba(27,47,82,0.5); }

/* 区块标题：藏蓝大标题 + 暖黄下划线点缀 */
.section-header h2, .page-title h1, .section-title { color: var(--c-deep) !important; }
.section-header p { color: var(--c-muted); }

/* 卡片：白底、细圆角、细装饰边，杜绝深灰底 */
.feature-card, .product-card, .news-card {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid var(--c-line);
  box-shadow: 0 2px 10px rgba(27,47,82,0.05);
}
.feature-card .icon { color: var(--c-deep); }
.feature-card h3 { color: var(--c-deep); }
.feature-card p { color: var(--c-muted); }
.card-img, .product-card .card-img { background: #f1f4f8; }

/* 按钮：藏蓝主色，hover 切换亮暖黄 */
.btn, .btn-primary, .contact-form button { background: var(--c-deep) !important; color: #ffffff !important; border-radius: 6px; }
.btn:hover, .btn-primary:hover, .contact-form button:hover { background: var(--c-gold) !important; color: var(--c-deep) !important; }
.btn-more, .view-all { background: var(--c-deep) !important; color: #ffffff !important; border-radius: 6px; }
.btn-more:hover, .view-all:hover { background: var(--c-gold) !important; color: var(--c-deep) !important; }

/* 分类筛选标签 */
.category-btn { color: var(--c-deep); border: 1px solid var(--c-line); }
.category-btn.active, .category-btn:hover { background: var(--c-deep); color: #ffffff; border-color: var(--c-deep); }

/* 联系信息、表单 */
.contact-info h3 { border-bottom-color: var(--c-gold); }
.contact-info .info-icon { background: #eef1f6; color: var(--c-deep); }

/* 页脚：保留藏蓝底，文字提亮清晰可读 */
.footer { background: var(--c-deep); }
.footer a { color: #c7cfdd; }
.footer a:hover { color: var(--c-gold); }
.footer-block h3 { color: #ffffff; }
.footer-bottom { color: #9aa4b5; }

/* 首页：生产车间快捷入口 CTA */
.cta-workshop {
  background: linear-gradient(120deg, var(--c-deep) 0%, var(--c-deep2) 100%);
  color: #ffffff;
  padding: 52px 0;
}
.cta-workshop-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-workshop-text h2 { font-size: 26px; font-weight: 700; margin-bottom: 8px; color: #ffffff; }
.cta-workshop-text p { color: #c7cfdd; font-size: 15px; }
.btn-workshop {
  display: inline-block;
  padding: 12px 34px;
  background: var(--c-gold);
  color: var(--c-deep);
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}
.btn-workshop:hover { background: var(--c-gold-2); color: var(--c-deep); transform: translateY(-2px); }

@media (max-width: 768px) {
  .cta-workshop-inner { flex-direction: column; text-align: center; }
  .btn-workshop { width: 100%; text-align: center; }
}

/* ============ 导航下拉子菜单（后台多级导航驱动） ============ */
.nav-menu > li { position: relative; }
.nav-menu .nav-ico { width: 18px; height: 18px; object-fit: contain; margin-right: 6px; vertical-align: -3px; border-radius: 3px; }
.nav-menu .nav-caret { display: inline-block; margin-left: 6px; border: 4px solid transparent; border-top-color: currentColor; vertical-align: 2px; }
.nav-menu .sub-nav { position: absolute; top: 100%; left: 0; min-width: 170px; background: #ffffff; border: 1px solid #ececec; border-top: 2px solid #0066bb; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12); padding: 6px 0; display: none; z-index: 60; text-align: left; }
.nav-menu > li.has-sub:hover .sub-nav,
.nav-menu > li.has-sub:focus-within .sub-nav { display: block; }
.nav-menu .sub-nav li a { display: block; padding: 0 16px; line-height: 40px; font-size: 14px; color: #333333; white-space: nowrap; }
.nav-menu .sub-nav li a::after { display: none; }
.nav-menu .sub-nav li a:hover,
.nav-menu .sub-nav li a.active { color: #0066bb; background: #f5f9ff; }

@media (max-width: 768px) {
  .nav-menu .sub-nav { position: static; display: none; min-width: 0; border: none; border-top: none; box-shadow: none; padding: 0 0 6px 24px; background: #fafafa; }
  .nav-menu.open .sub-nav { display: block; }
  .nav-menu .sub-nav li a { line-height: 44px; }
  .nav-menu .nav-caret { float: right; margin-top: 20px; }
}

/* ============ 首页三栏亮点模块（后台网站设置 intro/quality/service 驱动） ============ */
.section-highlights { padding: 48px 0 8px; }
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.highlight-card {
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}
.highlight-card .highlight-img {
  height: 180px;
  overflow: hidden;
  background: #f2f5f9;
}
.highlight-card .highlight-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.highlight-card:hover .highlight-img img { transform: scale(1.05); }
.highlight-card .highlight-body { padding: 20px 22px 24px; }
.highlight-card .highlight-body h3 {
  font-size: 18px;
  color: #222222;
  margin-bottom: 10px;
  position: relative;
  padding-left: 12px;
}
.highlight-card .highlight-body h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: #0066bb;
}
.highlight-card .highlight-body p {
  font-size: 14px;
  color: #666666;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .section-highlights { padding: 28px 0 0; }
  .highlight-grid { grid-template-columns: 1fr; gap: 16px; }
  .highlight-card .highlight-img { height: 160px; }
}

/* ============ 维护模式提示页（后台维护开关开启时前台访客整页替换） ============ */
.maintenance-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f6f9;
  padding: 24px;
}
.maintenance-box {
  background: #ffffff;
  border-top: 3px solid #0066bb;
  border-radius: 6px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  max-width: 520px;
  width: 100%;
  text-align: center;
  padding: 48px 36px;
}
.maintenance-box .maintenance-icon { font-size: 48px; line-height: 1; margin-bottom: 18px; }
.maintenance-box h1 { font-size: 24px; color: #222222; margin-bottom: 14px; }
.maintenance-box p { font-size: 15px; color: #666666; line-height: 1.8; }
.maintenance-box .maintenance-sub { margin-top: 22px; font-size: 13px; color: #999999; }

