/* ============================================
   patch.css - 补充缺失的类名样式
   ============================================ */

/* 产品卡片操作区 */
.dji-product-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding: 0 24px 24px;
}

/* 新闻卡片链接 */
.dji-news-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Footer ICP信息 */
.dji-footer-icp {
  font-size: 12px;
  color: #55556a;
  margin-top: 4px;
}

/* 搜索按钮 */
.dji-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 小尺寸下拉菜单（白底样式由 nav.css 接管） */
.dji-dropdown-sm {
  min-width: 180px;
}

/* Hero slide内部容器 */
.dji-hero-slide-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 默认slide样式 */
.dji-hero-slide-default {
  opacity: 1;
}

/* 产品分组标题旁的"查看更多" */
.dji-section-more {
  font-size: 14px;
  color: #2979ff;
  text-decoration: none;
  transition: color 0.15s ease;
}
.dji-section-more:hover {
  color: #005cf5;
}

/* 产品分组section */
.dji-products-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* 新闻section */
.dji-news-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* ========== P1-1: 产品分组区标题左对齐 ========== */
.dji-products-group .dji-section-header {
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.dji-products-group .dji-section-title {
  margin-bottom: 0;
}

/* ========== Footer：由 footer.css 对齐官网，取消旧覆盖 ========== */
/* .dji-footer-top override removed */

/* ========== P2-2: 品牌信任区样式 ========== */
.dji-trust-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.dji-trust-title {
  font-size: 36px;
  font-weight: 700;
  color: #e8e8f0;
  margin-bottom: 48px;
}
.dji-trust-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}
.dji-trust-stat {
  text-align: center;
}
.dji-trust-stat-number {
  display: block;
  font-size: 48px;
  font-weight: 700;
  color: #00e5ff;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.dji-trust-stat-label {
  font-size: 14px;
  color: #8888a0;
}

/* ========== P2-3: 产品对比入口区样式 ========== */
.dji-compare-banner {
  text-align: center;
  padding: 64px 24px;
  background: linear-gradient(135deg, #14141f 0%, #1c1c2e 100%);
  border-radius: 16px;
  border: 1px solid #2a2a40;
}
.dji-compare-banner-title {
  font-size: 36px;
  font-weight: 700;
  color: #e8e8f0;
  margin-bottom: 16px;
}
.dji-compare-banner-desc {
  font-size: 18px;
  color: #8888a0;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== P2-4: 产品分组交替背景色 ========== */
.dji-products-group {
  padding: 40px 0;
  border-radius: 16px;
  margin-bottom: 24px;
}
.dji-products-group:nth-child(even) {
  background-color: rgba(20, 20, 31, 0.5);
  padding: 40px 24px;
}

/* ========== 新闻卡片日期样式 ========== */
.dji-news-card-date {
  font-size: 12px;
  color: #55556a;
  margin-bottom: 8px;
}

/* ========== Footer法律链接：由 footer.css 对齐官网 ========== */
/* old .dji-footer-legal a override removed */

/* ========== 新闻卡片图片max-width修复 ========== */
.dji-news-card-image img {
  max-width: none;
}

/* ========== 产品卡片内info区标签行 ========== */
.dji-product-card-tagline {
  font-size: 14px;
  color: #8888a0;
  line-height: 1.5;
  margin-bottom: 12px;
}

/* ========== 面包屑样式修复 ========== */
.dji-breadcrumb {
  background-color: #14141f;
  padding: 16px 0;
  border-bottom: 1px solid #1a1a2e;
}
.dji-breadcrumb-current {
  color: #e8e8f0;
  font-size: 14px;
}

/* ========== 聚乙达：浅灰文字改为黑色，提升可读性 ========== */
body.dji-body {
  background-color: #ffffff !important;
  color: #000000 !important;
}
.dji-main {
  background-color: #ffffff !important;
  color: #000000 !important;
}

/* 通用次要灰字 → 黑色 */
.dji-product-card-tagline,
.dji-product-card-name,
.dji-product-hero-name,
.dji-product-hero-tagline,
.dji-product-hero-desc,
.dji-product-hero-category,
.dji-category-desc,
.dji-category-title,
.dji-category-nav-title,
.dji-category-nav-name,
.dji-category-nav-link,
.dji-category-nav-icon,
.dji-breadcrumb,
.dji-breadcrumb-link,
.dji-breadcrumb-sep,
.dji-breadcrumb-current,
.dji-product-tab-link,
.dji-empty-text,
.dji-news-card-date,
.dji-news-card-title,
.dji-news-card-desc,
.dji-compare-entry-desc,
.service-name,
.service-link,
.dji-footer-column li,
.dji-footer-subscribe-desc,
.copyright,
.ad-desc,
.footer-record a {
  color: #000000 !important;
}

/* 分类/产品页深色底改为浅色，配合黑字 */
.dji-category-section,
.dji-product-hero,
.dji-product-tabs-section,
.dji-product-tab-content,
.dji-breadcrumb,
.dji-products-group:nth-child(even) {
  background-color: #ffffff !important;
  background: #ffffff !important;
}
.dji-category-sidebar {
  background: transparent !important;
  border: 0 !important;
}
.dji-category-nav-link:hover,
.dji-category-nav-link.is-active,
.dji-category-nav-link.active {
  background: transparent !important;
  color: #111111 !important;
}
.dji-product-card,
.dji-product-card-info {
  background: #ffffff !important;
  color: #000000 !important;
}
.dji-product-tab-nav,
.dji-product-tabs {
  background: #ffffff !important;
  border-color: #e5e5e5 !important;
}
.dji-product-tab-item.dji-product-tab-active .dji-product-tab-link,
.dji-product-tab-link:hover {
  color: #000000 !important;
}

/* 关于我们页浅灰 → 黑（banner 标题保持白色） */
.cp-page,
.cp-page p,
.cp-page .cp-text p,
.cp-page .cp-menu-btn,
.cp-page .cp-contact-list .label,
.cp-page .cp-contact-list .value,
.cp-page h2 {
  color: #000000 !important;
}
.cp-page .cp-content h1,
.cp-page .cp-panel h1 {
  color: #000000 !important;
}
.cp-page .cp-banner h1 {
  color: #ffffff !important;
  text-shadow: 0 2px 16px rgba(0,0,0,.45);
}
body.dji-body:has(.cp-page) .dji-nav-link,
body.dji-body:has(.cp-page) .dji-nav-tool-btn {
  color: #000000 !important;
}

/* 导航基础：对齐 DJI 官网悬停变白效果（具体样式见文末区块） */

/* 页脚浅灰 → 黑（若页脚仍深色则改为浅色底） */
.dji-footer {
  background: #f5f5f5 !important;
  color: #000000 !important;
}
.dji-footer a,
.dji-footer-title,
.dji-footer-about-links a,
.dji-footer-legal-links a,
.dji-footer-locale {
  color: #000000 !important;
}

/* 首页产品区副文案 */
.dji-products-banner,
.dji-products-banner h2,
.dji-products-banner h3,
.dji-products-banner h4,
.dji-products-banner p,
.dji-products-banner a {
  color: #000000 !important;
}

/* 覆盖常见灰阶色值 */
.dji-body .text-muted,
[style*="color:#666"],
[style*="color: #666"],
[style*="color:#888"],
[style*="color: #888"],
[style*="color:#999"],
[style*="color: #999"] {
  color: #000000 !important;
}

/* ========== 首页 DJI 风格：大图模块文字保持白色 ========== */
.dji-homepage-banner .banner-title,
.dji-homepage-banner .banner-subtitle,
.dji-homepage-banner .banner-tag,
.dji-sub-banner .sub-banner-title,
.dji-sub-banner .sub-banner-subtitle,
.dji-sub-banner .sub-banner-tag,
.dji-products-banner-item .item-title,
.dji-products-banner-item .item-subtitle,
.dji-products-banner-item .item-tag,
.dji-products-banner-item .item-btn {
  color: #ffffff !important;
}
.dji-shoton-section .shoton-label {
  color: #5c564f !important;
}
.dji-shoton-section .shoton-title,
.dji-shoton-section .shoton-btn {
  color: #14110e !important;
}
.dji-domain-section .domain-name,
.dji-domain-section .domain-desc,
.dji-domain-section .domain-link {
  color: #14110e !important;
}
.dji-domain-section .domain-desc {
  color: #5c564f !important;
}
.dji-products-banner {
  padding: 0 !important;
}
.dji-products-banner a {
  color: #ffffff !important;
}
.dji-products-banner-wall .item-title,
.dji-products-banner-wall .item-subtitle,
.dji-products-banner-wall .item-btn,
.tj-home-entry-title,
.tj-home-entry-sub,
.tj-home-entry-kicker,
.tj-home-entry-cta,
.tj-wall-strip-title,
.tj-wall-strip-sub,
.tj-wall-strip-kicker,
.tj-wall-strip-label,
.tj-wall-strip-more {
  color: #14110e !important;
}
.tj-home-entry-sub,
.tj-home-entry-kicker,
.tj-wall-strip-sub,
.tj-wall-strip-kicker {
  color: #5c564f !important;
}
.dji-homepage-banner .banner-bg {
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* ========== 修复 dji-container：浅底黑字，避免一片黑看不见 ========== */
.dji-domain-section,
.dji-service-section {
  background: #f5f5f5 !important;
  color: #000000 !important;
}
.dji-domain-section .dji-container,
.dji-service-section .dji-container {
  background: transparent !important;
  color: #000000 !important;
}
.dji-domain-section .domain-title {
  color: #000000 !important;
}

/* 领域卡片：1:1 图在上，文字在下 */
.dji-domain-section .domain-card {
  background: #ffffff !important;
  aspect-ratio: auto !important;
  display: flex !important;
  flex-direction: column !important;
}
.dji-domain-section .domain-card .domain-bg {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #ece8e2 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
.dji-domain-section .domain-card::after {
  display: none !important;
}
.dji-domain-section .domain-card .domain-content {
  position: relative !important;
  top: auto !important;
  z-index: 2 !important;
  background: #ffffff !important;
}
.dji-domain-section .domain-card .domain-name,
.dji-domain-section .domain-card .domain-desc,
.dji-domain-section .domain-card .domain-link {
  color: #1c1814 !important;
  text-shadow: none !important;
}
.dji-domain-section .domain-card .domain-desc {
  color: #7a736b !important;
}

/* 服务入口：浅色卡片 + 黑字 */
.dji-service-section .service-item {
  background: #ffffff !important;
  border: 1px solid #e5e5e5 !important;
  color: #000000 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.dji-service-section .service-item:hover {
  background: #ffffff !important;
  border-color: #1890ff !important;
}
.dji-service-section .service-name,
.dji-service-section .service-link {
  color: #000000 !important;
}
.dji-service-section .service-link {
  color: #1890ff !important;
}

/* ========== 聚乙达页脚重整 ========== */
.jyd-footer.dji-footer {
  background: #f7f7f7 !important;
  color: #111 !important;
  padding: 56px 0 28px !important;
  border-top: 1px solid #e8e8e8 !important;
}
.jyd-footer .jyd-footer-inner,
.jyd-footer .dji-footer-inner {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
}
.jyd-footer-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1.5fr !important;
  gap: 40px 48px !important;
  align-items: start !important;
  flex-wrap: nowrap !important;
  justify-content: stretch !important;
}
.jyd-footer-col {
  width: auto !important;
  margin: 0 !important;
  min-width: 0 !important;
  flex: none !important;
}
.jyd-footer-heading {
  margin: 0 0 16px !important;
  padding: 0 !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
  color: #111 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.jyd-footer-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.jyd-footer-list li {
  margin: 0 0 10px !important;
  padding: 0 !important;
  color: #333 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}
.jyd-footer-list li:last-child { margin-bottom: 0 !important; }
.jyd-footer-list a {
  color: #333 !important;
  text-decoration: none !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  display: inline !important;
}
.jyd-footer-list a:hover {
  color: #000 !important;
  text-decoration: underline !important;
}
.jyd-footer-contact li {
  display: grid !important;
  grid-template-columns: 48px 1fr !important;
  gap: 8px 12px !important;
  align-items: start !important;
  margin-bottom: 12px !important;
}
.jyd-footer-contact .label {
  color: #666 !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}
.jyd-footer-contact .value {
  color: #111 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  word-break: break-word !important;
}
.jyd-footer-contact .value a {
  color: #111 !important;
}
.jyd-footer-bottom {
  margin-top: 40px !important;
  padding-top: 20px !important;
  border-top: 1px solid #e5e5e5 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 12px !important;
}
.jyd-footer-copy,
.jyd-footer-meta {
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: #555 !important;
}
.jyd-footer-meta a {
  color: #555 !important;
  text-decoration: none !important;
  font-size: 13px !important;
}
.jyd-footer-meta a:hover { color: #000 !important; }
.jyd-footer-meta .sep {
  margin: 0 8px;
  color: #ccc;
}
@media (max-width: 768px) {
  .jyd-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .jyd-footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}

/* ========== 首页首屏轮播：横图 100% 铺满 ========== */
.dji-homepage-banner {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 21 / 9 !important;
  min-height: 320px !important;
  max-height: 780px !important;
}
.dji-homepage-banner .banner-bg {
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #111 !important;
}
@media (max-width: 768px) {
  .dji-homepage-banner {
    aspect-ratio: 16 / 9 !important;
    min-height: 220px !important;
    max-height: none !important;
  }
}

/* ========== 旧副Banner隐藏；新壁灯条由页面样式控制 ========== */
.dji-sub-banner {
  display: none !important;
}

/* ========== 面包屑排版修复 ========== */
.dji-breadcrumb {
  display: block !important;
  width: 100% !important;
  background: #f7f7f7 !important;
  border-bottom: 1px solid #e8e8e8 !important;
  padding: 14px 0 !important;
  margin: 0 !important;
  color: #333 !important;
}
.dji-breadcrumb > .dji-container {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 0 !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
}
.dji-breadcrumb-link,
.dji-breadcrumb a.dji-breadcrumb-link {
  display: inline-flex !important;
  align-items: center !important;
  color: #666 !important;
  font-size: 14px !important;
  line-height: 22px !important;
  text-decoration: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}
.dji-breadcrumb-link:hover {
  color: #1890ff !important;
}
.dji-breadcrumb-sep {
  display: inline-block !important;
  margin: 0 10px !important;
  color: #bbb !important;
  font-size: 13px !important;
  line-height: 22px !important;
}
.dji-breadcrumb-current {
  display: inline-flex !important;
  align-items: center !important;
  color: #111 !important;
  font-size: 14px !important;
  line-height: 22px !important;
  font-weight: 500 !important;
  margin: 0 !important;
}

/* 分类页标题在浅色背景下可读 */
.dji-category-section {
  background: #ffffff !important;
}
.dji-category-title {
  color: #111 !important;
}
.dji-category-desc {
  color: #666 !important;
}
.dji-category-nav-link:hover {
  color: #111 !important;
  background: #eeeeee !important;
}

/* ========== 分页 dji-pagination 重整（适配 ThinkPHP .pagination） ========== */
.dji-pagination {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 40px !important;
  padding: 8px 0 16px !important;
  width: 100% !important;
}
.dji-pagination .pagination {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.dji-pagination .pagination > li {
  display: inline-flex !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.dji-pagination .pagination > li > a,
.dji-pagination .pagination > li > span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 40px !important;
  height: 40px !important;
  padding: 0 12px !important;
  box-sizing: border-box !important;
  font-size: 14px !important;
  line-height: 1 !important;
  color: #333 !important;
  background: #fff !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
}
.dji-pagination .pagination > li > a:hover {
  color: #111 !important;
  border-color: #1890ff !important;
  background: #f5f9ff !important;
}
.dji-pagination .pagination > li.active > span,
.dji-pagination .pagination > li.active > a {
  color: #fff !important;
  background: #1890ff !important;
  border-color: #1890ff !important;
  font-weight: 600 !important;
}
.dji-pagination .pagination > li.disabled > span,
.dji-pagination .pagination > li.disabled > a {
  color: #bbb !important;
  background: #f5f5f5 !important;
  border-color: #eee !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}


/* ========== 隐藏所有对比按钮 ========== */
a[href="/compare"],
a[href^="/compare?"],
a[href^="/index/compare"],
.dji-product-tab-item[data-tab="compare"],
#tab-compare,
.dji-compare-entry-section {
  display: none !important;
}


/* ========== 隐藏了解更多按钮 ========== */
.dji-product-card-actions,
.dji-products-banner-item .item-btn,
.dji-shoton-section .shoton-btn,
.dji-domain-section .domain-link {
  display: none !important;
}


/* ========== 修复产品详情可点击进入 ========== */
a.dji-product-card,
a.dji-product-card-link,
.dji-product-card > a.dji-product-card-link {
  display: block !important;
  text-decoration: none !important;
  color: inherit !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  position: relative !important;
  z-index: 2 !important;
}
.dji-product-card {
  cursor: pointer !important;
  pointer-events: auto !important;
}
.dji-product-card-image,
.dji-product-card-info,
.dji-product-card-name,
.dji-product-card-tagline {
  pointer-events: none !important; /* clicks pass to parent <a> */
}
a.dji-product-card .dji-product-card-image,
a.dji-product-card .dji-product-card-info {
  pointer-events: none !important;
}

/* 详情页 Tab 显示 */
.dji-product-tab-pane {
  display: none !important;
}
.dji-product-tab-pane.dji-product-tab-pane-active,
#tab-overview.dji-product-tab-pane-active {
  display: block !important;
}
.dji-product-hero,
.dji-product-tab-content,
.dji-overview-section,
.dji-related-section {
  display: block !important;
  visibility: visible !important;
}
.dji-product-hero-name,
.dji-product-hero-tagline,
.dji-product-hero-desc,
.dji-product-content,
.dji-product-content p,
.dji-section-title {
  color: #111 !important;
}
.dji-product-hero {
  background: #fff !important;
  padding: 40px 0 !important;
}
.dji-product-hero-inner {
  display: flex !important;
  gap: 40px !important;
  align-items: center !important;
  flex-wrap: wrap !important;
}
.dji-product-hero-image {
  flex: 1 1 360px !important;
  max-width: 520px !important;
}
.dji-product-hero-image img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  object-fit: contain !important;
  background: #f5f5f5 !important;
}
.dji-product-hero-info {
  flex: 1 1 320px !important;
}

/* 首页 Banner：slide 必须绝对定位叠放，否则切到第2张后高度塌陷变黑 */
.dji-homepage-banner {
  position: relative !important;
  overflow: hidden !important;
  background: #111 !important;
}
.dji-homepage-banner .swiper-wrapper {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}
.dji-homepage-banner .swiper-slide {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  z-index: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}
.dji-homepage-banner .swiper-slide.swiper-slide-active {
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 2 !important;
  pointer-events: auto !important;
}
.dji-homepage-banner .banner-bg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  z-index: 0 !important;
}
.dji-homepage-banner .banner-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background: linear-gradient(180deg, rgba(10,10,15,0.12) 0%, rgba(10,10,15,0.08) 40%, rgba(10,10,15,0.35) 100%) !important;
}
.dji-homepage-banner .banner-slide-link {
  position: absolute !important;
  inset: 0 !important;
  z-index: 3 !important;
  display: block !important;
}
.dji-homepage-banner .banner-content {
  position: absolute !important;
  inset: 0 !important;
  z-index: 4 !important;
  pointer-events: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  box-sizing: border-box !important;
}
.dji-homepage-banner .banner-btns,
.dji-homepage-banner .banner-btns a {
  pointer-events: auto !important;
  position: relative !important;
  z-index: 5 !important;
}
.dji-homepage-banner .banner-pagination,
.dji-homepage-banner .banner-arrow {
  z-index: 30 !important;
}

/* ========== 新详情页不受旧强制规则干扰 ========== */
.jyd-detail,
.jyd-detail * {
  box-sizing: border-box;
}
.jyd-detail .jyd-detail-title,
.jyd-detail .jyd-detail-sub,
.jyd-detail .jyd-detail-desc,
.jyd-detail .jyd-detail-panel h2,
.jyd-detail .jyd-detail-panel .content,
.jyd-detail .jyd-related h2,
.jyd-detail .jyd-related-card .meta h3 {
  color: inherit;
}

/* ========== 头部导航菜单居中 ========== */
.dji-header .dji-nav {
  width: 100%;
}
.dji-header .dji-nav-inner {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
  justify-content: unset !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  position: relative !important;
}
.dji-header .dji-logo {
  justify-self: start !important;
  grid-column: 1 !important;
}
.dji-header .dji-nav-menu {
  justify-self: center !important;
  grid-column: 2 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
}
.dji-header .dji-nav-tools {
  justify-self: end !important;
  grid-column: 3 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}
@media (max-width: 960px) {
  .dji-header .dji-nav-inner {
    display: flex !important;
    justify-content: space-between !important;
  }
  .dji-header .dji-nav-menu {
    justify-self: unset !important;
  }
}


/* ========== DJI风格导航悬停 ========== */
.dji-header {
  background-color: transparent !important;
  border-bottom: 1px solid transparent !important;
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease, height .3s ease !important;
}
.dji-header .dji-nav-link {
  color: #000000 !important;
  opacity: 1 !important;
  transition: color .25s ease !important;
}
.dji-header .dji-nav-link:hover,
.dji-header .dji-nav-link.is-active {
  color: #000000 !important;
  opacity: 0.75 !important;
}
.dji-header .dji-nav-tool-btn {
  color: #000000 !important;
  transition: color .25s ease, background-color .25s ease !important;
}
.dji-header .dji-nav-link::after {
  background-color: #000000 !important;
  height: 2px !important;
  bottom: 0 !important;
  transform-origin: center !important;
  transition: transform .28s ease !important;
}

/* 悬停导航 / 滚动后：顶栏变白、文字转深（对齐 dji.com/cn） */
.dji-header.is-nav-hover,
.dji-header.is-scrolled {
  background-color: #ffffff !important;
  border-bottom: 1px solid rgba(0,0,0,.06) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.06) !important;
}
.dji-header.is-nav-hover .dji-nav-link,
.dji-header.is-scrolled .dji-nav-link {
  color: #000000 !important;
}
.dji-header.is-nav-hover .dji-nav-link:hover,
.dji-header.is-nav-hover .dji-nav-link.is-active,
.dji-header.is-scrolled .dji-nav-link:hover,
.dji-header.is-scrolled .dji-nav-link.is-active {
  color: #000000 !important;
  opacity: 0.75 !important;
}
.dji-header.is-nav-hover .dji-nav-link::after,
.dji-header.is-scrolled .dji-nav-link::after {
  background-color: #000000 !important;
}
.dji-header.is-nav-hover .dji-nav-tool-btn,
.dji-header.is-scrolled .dji-nav-tool-btn {
  color: #000000 !important;
}
.dji-header.is-nav-hover .dji-nav-tool-btn:hover,
.dji-header.is-scrolled .dji-nav-tool-btn:hover {
  color: #000000 !important;
  background-color: rgba(0,0,0,.04) !important;
}

/* 非首页（无大 Banner）默认白底深字 */
body:not(.page-home) .dji-header {
  background-color: #ffffff !important;
  border-bottom: 1px solid rgba(0,0,0,.06) !important;
}
body:not(.page-home) .dji-header .dji-nav-link,
body:not(.page-home) .dji-header .dji-nav-tool-btn {
  color: #000000 !important;
}
body:not(.page-home) .dji-header .dji-nav-link:hover,
body:not(.page-home) .dji-header .dji-nav-link.is-active {
  color: #000000 !important;
  opacity: 0.75 !important;
}
body:not(.page-home) .dji-header .dji-nav-link::after {
  background-color: #000000 !important;
}

/* 下拉保持 DJI 白底卡片 */
.dji-dropdown .dji-dropdown-list,
.dji-dropdown-sm .dji-dropdown-list {
  background: #fff !important;
  box-shadow: 0 8px 16px rgba(0,0,0,.1) !important;
}
.dji-dropdown .dji-dropdown-list > li > a {
  color: rgba(0,0,0,.65) !important;
}
.dji-dropdown .dji-dropdown-list > li > a:hover {
  background: rgba(0,0,0,.04) !important;
  color: rgba(0,0,0,.85) !important;
}

/* 覆盖关于页强制黑字，避免破坏悬停态 */
body.dji-body:has(.cp-page) .dji-header:not(.is-nav-hover):not(.is-scrolled) .dji-nav-link,
body.dji-body:has(.cp-page) .dji-header:not(.is-nav-hover):not(.is-scrolled) .dji-nav-tool-btn {
  color: #000000 !important;
}

/* 汉堡按钮在透明/白底下的颜色 */
.dji-header .dji-hamburger,
.dji-header .dji-hamburger::before,
.dji-header .dji-hamburger::after {
  background-color: #000000 !important;
}
.dji-header.is-nav-hover .dji-hamburger,
.dji-header.is-nav-hover .dji-hamburger::before,
.dji-header.is-nav-hover .dji-hamburger::after,
.dji-header.is-scrolled .dji-hamburger,
.dji-header.is-scrolled .dji-hamburger::before,
.dji-header.is-scrolled .dji-hamburger::after,
body:not(.page-home) .dji-header .dji-hamburger,
body:not(.page-home) .dji-header .dji-hamburger::before,
body:not(.page-home) .dji-header .dji-hamburger::after {
  background-color: rgba(0,0,0,.75) !important;
}

/* Logo */
.dji-header .dji-logo-img {
  height: 28px !important;
  width: auto !important;
  max-width: 120px !important;
  object-fit: cover !important;
  filter: none !important;
}
.dji-header.is-scrolled .dji-logo-img {
  height: 24px !important;
}

/* ==== TEXT LOGO: 天玑 Ceramic Lights ==== */
.dji-header .dji-logo {
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  max-width: none !important;
}
.dji-header .dji-logo-text {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 8px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  color: #111 !important;
  transition: opacity .25s ease !important;
}
.dji-header .dji-logo-cn {
  font-size: 20px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  color: inherit !important;
}
.dji-header .dji-logo-en {
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
  opacity: 0.85 !important;
  color: inherit !important;
}
.dji-header .dji-logo:hover .dji-logo-text {
  opacity: 0.75 !important;
}
.dji-header.is-scrolled .dji-logo-cn {
  font-size: 18px !important;
}
.dji-header.is-scrolled .dji-logo-en {
  font-size: 12px !important;
}
@media (max-width: 960px) {
  .dji-header .dji-logo-en {
    display: none !important;
  }
  .dji-header .dji-logo-cn {
    font-size: 18px !important;
  }
}

/* ==== tj-banner hard guard ==== */
.tj-banner, .tj-banner * { box-sizing: border-box; }
.tj-banner-slide { opacity: 0 !important; }
.tj-banner-slide.is-active { opacity: 1 !important; }
.tj-banner-img {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
}

/* ==== 卖灯优先：产品位一律完整展示，禁止裁切 ==== */
.dji-product-card-image,
.dji-product-gallery-main,
.dji-product-gallery-thumb,
.dji-related-products .dji-product-card-image,
.dji-search-result-image {
  background: #f5f5f7 !important;
  overflow: hidden !important;
}
.dji-product-card-image img,
.dji-product-gallery-main img,
.dji-product-gallery-thumb img,
.dji-related-products .dji-product-card-image img,
.dji-search-result-image img,
.dji-product-banner-image {
  object-fit: contain !important;
  object-position: center center !important;
}
.dji-product-card-info {
  padding: 16px 14px 18px !important;
}
.dji-product-card-title {
  color: #14110e !important;
  line-height: 1.45 !important;
  margin-bottom: 6px !important;
}
.dji-category-desc {
  color: #5c564f !important;
  line-height: 1.7 !important;
  max-width: 42em !important;
}
.dji-category-title {
  color: #14110e !important;
  letter-spacing: 0.04em !important;
  margin-bottom: 12px !important;
}

/* ==== 关于天玑：香奈儿式简介下拉 ==== */
.dji-about-mega {
  left: 50% !important;
  width: min(720px, 92vw) !important;
  transform: translate(-50%, -12px) !important;
}
.dji-nav-item:hover .dji-about-mega,
.dji-nav-item.is-open .dji-about-mega {
  transform: translate(-50%, 0) !important;
}
.dji-about-mega-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 0;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0,0,0,.1);
  border: 1px solid rgba(0,0,0,.06);
}
.dji-about-mega-intro {
  padding: 28px 32px 32px;
  border-right: 1px solid rgba(0,0,0,.06);
}
.dji-about-mega-kicker {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #888;
}
.dji-about-mega-text {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.75;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dji-about-mega-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
}
.dji-about-mega-more:hover { opacity: .7; }
.dji-about-mega-links {
  min-width: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 20px 8px !important;
  background: #fafafa !important;
}
.dji-about-mega-links > li > a {
  height: 44px !important;
  font-size: 14px !important;
  color: #111 !important;
}
@media (max-width: 900px) {
  .dji-about-mega { display: none !important; }
}
.dji-product-card-tagline:empty { display: none !important; }
