/* ========== ZRDR 官网样式 - 蓝红紫高端配色 ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-black: #0a0a1a;
  --secondary-black: #12122a;
  --tertiary-black: #1e1e3a;
  --primary-blue: #1e40af;
  --secondary-blue: #3b82f6;
  --accent-blue: #60a5fa;
  --primary-red: #c41e3a;
  --secondary-red: #e63946;
  --accent-red: #ff1744;
  --primary-purple: #7c3aed;
  --secondary-purple: #a855f7;
  --accent-purple: #c084fc;
  --gold: #d4af37;
  --text-white: #ffffff;
  --text-gray: #b0b0b0;
  --text-light: #e0e0e0;
}

body {
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--primary-black);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========== 导航栏 ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(124, 58, 237, 0.3);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 10, 26, 0.98);
  box-shadow: 0 2px 20px rgba(59, 130, 246, 0.2);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 3px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  max-height: 45px;
  width: auto;
  object-fit: contain;
}

.logo span {
  background: linear-gradient(135deg, var(--secondary-blue), var(--primary-purple), var(--primary-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 5px;
  align-items: center;
}

.nav-menu li a {
  color: var(--text-gray);
  text-decoration: none;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 4px;
  cursor: pointer;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: var(--text-white);
  background: rgba(196, 30, 58, 0.2);
}

.lang-selector {
  position: relative;
  margin-left: 20px;
}

.lang-btn {
  background: var(--tertiary-black);
  color: var(--text-white);
  border: 1px solid var(--primary-red);
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  background: var(--primary-red);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--secondary-black);
  border: 1px solid var(--tertiary-black);
  border-radius: 4px;
  min-width: 120px;
  display: none;
  z-index: 1001;
}

.lang-dropdown.show {
  display: block;
}

.lang-dropdown a {
  display: block;
  padding: 10px 16px;
  color: var(--text-gray);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s;
}

.lang-dropdown a:hover {
  background: var(--primary-red);
  color: var(--text-white);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 24px;
  cursor: pointer;
}

/* ========== 首页 Banner ========== */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10,10,10,0.7) 0%, rgba(196,30,58,0.3) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 20px;
}

.hero-title {
  font-size: 64px;
  font-weight: 900;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
  animation: fadeInUp 1s ease;
}

.hero-title span {
  color: var(--primary-red);
}

.hero-subtitle {
  font-size: 24px;
  color: var(--text-light);
  margin-bottom: 40px;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-btn {
  display: inline-block;
  padding: 16px 48px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  color: var(--text-white);
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-btn:hover {
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-red));
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== 通用区块 ========== */
.section {
  padding: 100px 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-blue), var(--primary-purple), var(--primary-red));
  margin: 20px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-gray);
  font-size: 18px;
  margin-bottom: 60px;
}

/* ========== 关于我们 ========== */
.about-section {
  background: var(--secondary-black);
}

.about-video-container {
  max-width: 1000px;
  margin: 0 auto 50px;
  aspect-ratio: 16 / 9;
  background: var(--primary-black);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(196, 30, 58, 0.2);
  border: 1px solid rgba(196, 30, 58, 0.3);
}

.about-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 18px;
  color: var(--text-light);
  line-height: 2;
}

/* ========== 产品展示 ========== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--secondary-black);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid var(--tertiary-black);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.3);
  border-color: var(--secondary-purple);
}

.product-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: var(--tertiary-black);
}

.product-info {
  padding: 25px;
}

.product-name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-white);
}

.product-desc {
  color: var(--text-gray);
  font-size: 14px;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-params {
  list-style: none;
}

.product-params li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--tertiary-black);
  font-size: 14px;
}

.product-params li:last-child {
  border-bottom: none;
}

.product-params .param-key {
  color: var(--text-gray);
}

.product-params .param-value {
  color: var(--secondary-red);
  font-weight: 600;
}

/* 产品详情弹窗 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.show {
  display: flex;
}

.modal-content {
  background: var(--secondary-black);
  border-radius: 16px;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--primary-red);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary-red);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
}

.modal-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.modal-body {
  padding: 30px;
}

.modal-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 15px;
}

.modal-desc {
  color: var(--text-gray);
  margin-bottom: 25px;
  line-height: 1.8;
}

.modal-params-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-red);
}

/* ========== 留言反馈 ========== */
.feedback-section {
  background: var(--secondary-black);
}

.feedback-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--primary-black);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--tertiary-black);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-light);
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--secondary-black);
  border: 1px solid var(--tertiary-black);
  border-radius: 8px;
  color: var(--text-white);
  font-size: 15px;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  color: var(--text-white);
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.submit-btn:hover {
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-red));
  transform: translateY(-2px);
}

/* ========== 联系我们 ========== */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-card {
  background: var(--secondary-black);
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--tertiary-black);
  transition: all 0.3s;
}

.contact-card:hover {
  border-color: var(--primary-red);
  transform: translateY(-5px);
}

.contact-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.contact-label {
  font-size: 18px;
  color: var(--text-gray);
  margin-bottom: 10px;
}

.contact-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
}

/* ========== 自定义菜单页面 ========== */
.custom-page-section {
  padding-top: 120px;
  min-height: 100vh;
}

.custom-page-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.custom-page-content img {
  max-width: 100%;
  border-radius: 12px;
  margin: 20px 0;
}

.custom-page-content video {
  max-width: 100%;
  border-radius: 12px;
  margin: 20px 0;
}

.custom-page-content p {
  font-size: 18px;
  line-height: 2;
  color: var(--text-light);
  text-align: left;
}

/* ========== 页脚 ========== */
.footer {
  background: var(--primary-black);
  border-top: 1px solid var(--tertiary-black);
  padding: 40px 30px;
  text-align: center;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.footer-logo span {
  color: var(--primary-red);
}

.footer-text {
  color: var(--text-gray);
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-admin-link {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
}

.footer-admin-link:hover {
  color: var(--primary-red);
}

/* ========== 响应式 ========== */
@media (max-width: 968px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--secondary-black);
    flex-direction: column;
    padding: 20px;
    gap: 10px;
  }

  .nav-menu.show {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .section-title {
    font-size: 32px;
  }

  .section {
    padding: 60px 20px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .feedback-form {
    padding: 25px;
  }
}

/* 提示消息 */
.toast {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-red);
  color: white;
  padding: 15px 30px;
  border-radius: 8px;
  z-index: 3000;
  display: none;
  animation: slideDown 0.3s ease;
}

.toast.show {
  display: block;
}

.toast.success {
  background: #28a745;
}

.toast.error {
  background: var(--primary-red);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* 产品展示区域强制 LTR，确保产品卡片从左往右排列 */
body.rtl .products-grid,
body.rtl .product-card,
body.rtl .product-info,
body.rtl .product-params {
  direction: ltr !important;
  text-align: left !important;
}

body.rtl .product-params li {
  flex-direction: row !important;
}

/* 产品详情弹窗强制 LTR */
body.rtl .modal-content,
body.rtl .modal-body {
  direction: ltr !important;
  text-align: left !important;
}

/* ========== 首页只留图片，隐藏文字 ========== */
.hero-overlay {
  display: none !important;
}
.hero-content {
  display: none !important;
}

/* ========== 白金配色方案 ========== */
:root {
  --primary-gold: #d4af37;
  --secondary-gold: #f4e4bc;
  --dark-gold: #b8941f;
  --white: #ffffff;
  --off-white: #f8f8f8;
  --light-gray: #f0f0f0;
  --text-dark: #333333;
  --text-light: #666666;
}

/* 导航栏 */
.navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--light-gray) !important;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08) !important;
}
.logo-text {
  color: var(--primary-gold) !important;
}
.nav-link {
  color: var(--text-dark) !important;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary-gold) !important;
}
.lang-btn {
  background: var(--primary-gold) !important;
  color: var(--white) !important;
}
.lang-dropdown {
  background: var(--white) !important;
  border: 1px solid var(--light-gray) !important;
}
.lang-dropdown a {
  color: var(--text-dark) !important;
}
.lang-dropdown a:hover {
  background: var(--off-white) !important;
  color: var(--primary-gold) !important;
}
.mobile-menu-btn {
  color: var(--text-dark) !important;
}

/* 通用标题 */
.section-title {
  color: var(--text-dark) !important;
}
.section-title::after {
  background: linear-gradient(90deg, var(--primary-gold), var(--secondary-gold)) !important;
}
.section-subtitle {
  color: var(--text-light) !important;
}

/* 按钮 */
.admin-btn, .hero-btn, .submit-btn {
  background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold)) !important;
  color: var(--white) !important;
  border: none !important;
}
.admin-btn:hover, .hero-btn:hover, .submit-btn:hover {
  background: linear-gradient(135deg, var(--dark-gold), var(--primary-gold)) !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4) !important;
}

/* 产品卡片 */
.product-card {
  background: var(--white) !important;
  border: 1px solid var(--light-gray) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}
.product-card:hover {
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.2) !important;
  border-color: var(--primary-gold) !important;
  transform: translateY(-5px);
}
.product-name {
  color: var(--text-dark) !important;
}
.product-desc {
  color: var(--text-light) !important;
}
.param-key {
  color: var(--primary-gold) !important;
}
.param-value {
  color: var(--text-dark) !important;
}

/* 表单 */
input, textarea, select {
  background: var(--white) !important;
  border: 1px solid var(--light-gray) !important;
  color: var(--text-dark) !important;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--primary-gold) !important;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1) !important;
}
label {
  color: var(--text-dark) !important;
}

/* 联系我们 */
.contact-info {
  background: var(--white) !important;
  border: 1px solid var(--light-gray) !important;
}
.contact-item .icon {
  background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold)) !important;
  color: var(--white) !important;
}
.contact-label {
  color: var(--text-light) !important;
}
.contact-value {
  color: var(--text-dark) !important;
}

/* 页脚 */
.footer {
  background: var(--white) !important;
  border-top: 1px solid var(--light-gray) !important;
  color: var(--text-light) !important;
}

/* 页面背景 */
body {
  background: var(--off-white) !important;
  color: var(--text-dark) !important;
}
.section {
  background: var(--off-white) !important;
}
.about-section {
  background: var(--white) !important;
}

/* 产品详情弹窗 */
.modal-content {
  background: var(--white) !important;
  color: var(--text-dark) !important;
}
.modal-title {
  color: var(--text-dark) !important;
}
.modal-desc {
  color: var(--text-light) !important;
}
.modal-params-title {
  color: var(--primary-gold) !important;
}
.modal-close {
  color: var(--text-dark) !important;
}

/* 留言表单 */
.feedback-form {
  background: var(--white) !important;
  border: 1px solid var(--light-gray) !important;
}

/* 关于我们文字 */
.about-text {
  color: var(--text-light) !important;
}

/* ========== 改回黑红配色，Logo保持金色 ========== */
:root {
  --primary-red: #c41e3a;
  --secondary-red: #e63946;
  --dark-red: #8b0000;
  --gold: #d4af37;
  --black: #0a0a0a;
  --dark-gray: #1a1a1a;
  --medium-gray: #2a2a2a;
  --white: #ffffff;
  --light-gray: #888888;
}

/* 页面背景 */
body {
  background: var(--black) !important;
  color: var(--white) !important;
}
.section {
  background: var(--black) !important;
}
.about-section {
  background: var(--dark-gray) !important;
}

/* 导航栏 */
.navbar {
  background: rgba(10, 10, 10, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--medium-gray) !important;
}
.navbar.scrolled {
  background: rgba(10, 10, 10, 0.98) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5) !important;
}

/* Logo保持金色 */
.logo-text {
  color: var(--gold) !important;
}

.nav-link {
  color: var(--white) !important;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary-red) !important;
}
.lang-btn {
  background: var(--primary-red) !important;
  color: var(--white) !important;
}
.lang-dropdown {
  background: var(--dark-gray) !important;
  border: 1px solid var(--medium-gray) !important;
}
.lang-dropdown a {
  color: var(--white) !important;
}
.lang-dropdown a:hover {
  background: var(--medium-gray) !important;
  color: var(--primary-red) !important;
}
.mobile-menu-btn {
  color: var(--white) !important;
}

/* 通用标题 */
.section-title {
  color: var(--white) !important;
}
.section-title::after {
  background: linear-gradient(90deg, var(--primary-red), var(--secondary-red)) !important;
}
.section-subtitle {
  color: var(--light-gray) !important;
}

/* 按钮 */
.admin-btn, .hero-btn, .submit-btn {
  background: linear-gradient(135deg, var(--primary-red), var(--dark-red)) !important;
  color: var(--white) !important;
  border: none !important;
}
.admin-btn:hover, .hero-btn:hover, .submit-btn:hover {
  background: linear-gradient(135deg, var(--dark-red), var(--primary-red)) !important;
  box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4) !important;
}

/* 产品卡片 */
.product-card {
  background: var(--dark-gray) !important;
  border: 1px solid var(--medium-gray) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}
.product-card:hover {
  box-shadow: 0 8px 30px rgba(196, 30, 58, 0.2) !important;
  border-color: var(--primary-red) !important;
  transform: translateY(-5px);
}
.product-name {
  color: var(--white) !important;
}
.product-desc {
  color: var(--light-gray) !important;
}
.param-key {
  color: var(--primary-red) !important;
}
.param-value {
  color: var(--white) !important;
}

/* 产品图片4:3比例 */
.product-image {
  aspect-ratio: 4 / 3 !important;
  object-fit: cover !important;
  width: 100% !important;
}

/* 表单 */
input, textarea, select {
  background: var(--black) !important;
  border: 1px solid var(--medium-gray) !important;
  color: var(--white) !important;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--primary-red) !important;
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1) !important;
}
label {
  color: var(--white) !important;
}

/* 联系我们 */
.contact-info {
  background: var(--dark-gray) !important;
  border: 1px solid var(--medium-gray) !important;
}
.contact-item .icon {
  background: linear-gradient(135deg, var(--primary-red), var(--dark-red)) !important;
  color: var(--white) !important;
}
.contact-label {
  color: var(--light-gray) !important;
}
.contact-value {
  color: var(--white) !important;
}

/* 页脚 */
.footer {
  background: var(--black) !important;
  border-top: 1px solid var(--medium-gray) !important;
  color: var(--light-gray) !important;
}

/* 产品详情弹窗 */
.modal-content {
  background: var(--dark-gray) !important;
  color: var(--white) !important;
}
.modal-title {
  color: var(--white) !important;
}
.modal-desc {
  color: var(--light-gray) !important;
}
.modal-params-title {
  color: var(--primary-red) !important;
}
.modal-close {
  color: var(--white) !important;
}

/* 留言表单 */
.feedback-form {
  background: var(--dark-gray) !important;
  border: 1px solid var(--medium-gray) !important;
}

/* 关于我们文字 */
.about-text {
  color: var(--light-gray) !important;
}

/* ========== Logo改为红色，字体加大加宽 ========== */
.logo-text {
  color: #c41e3a !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  letter-spacing: 2px !important;
  text-shadow: 0 0 10px rgba(196, 30, 58, 0.5) !important;
}

/* 确认产品图片4:3比例 */
.product-image {
  aspect-ratio: 4 / 3 !important;
  object-fit: cover !important;
  width: 100% !important;
  height: auto !important;
}

/* 产品详情弹窗中的图片也保持4:3 */
.modal-content img {
  aspect-ratio: 4 / 3 !important;
  object-fit: cover !important;
  width: 100% !important;
}

/* ========== 产品图片自动适应拉满 ========== */
.product-card {
  padding: 0 !important;
  overflow: hidden !important;
}

.product-image {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  aspect-ratio: 4 / 3 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
}

/* 产品卡片图片容器 */
.product-card > img:first-child {
  width: 100% !important;
  display: block !important;
}

/* 产品详情弹窗图片拉满 */
.modal-body img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 auto !important;
}

/* 产品信息区域 */
.product-info {
  padding: 20px !important;
}

/* ========== 前端所有文字标题全部红色 ========== */
/* Logo红色 */
.logo-text {
  color: #c41e3a !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: #c41e3a !important;
}

/* 导航菜单全部红色 */
.nav-link {
  color: #c41e3a !important;
}
.nav-link:hover, .nav-link.active {
  color: #e63946 !important;
}

/* 语言选择器按钮红色 */
.lang-btn {
  color: #ffffff !important;
  background: #c41e3a !important;
}
.lang-dropdown a {
  color: #c41e3a !important;
}

/* 移动端菜单按钮红色 */
.mobile-menu-btn {
  color: #c41e3a !important;
}

/* 所有标题红色 */
h1, h2, h3, h4, h5, h6 {
  color: #c41e3a !important;
}

/* 区块标题红色 */
.section-title {
  color: #c41e3a !important;
}
.section-subtitle {
  color: #c41e3a !important;
}

/* 产品名称红色 */
.product-name {
  color: #c41e3a !important;
}

/* 产品详情标题红色 */
.modal-title {
  color: #c41e3a !important;
}
.modal-params-title {
  color: #c41e3a !important;
}

/* 联系信息标签红色 */
.contact-label {
  color: #c41e3a !important;
}
.contact-value {
  color: #c41e3a !important;
}

/* 关于我们文字红色 */
.about-text {
  color: #c41e3a !important;
}

/* 表单标签红色 */
label {
  color: #c41e3a !important;
}

/* 页脚文字红色 */
.footer {
  color: #c41e3a !important;
}

/* 产品描述红色 */
.product-desc {
  color: #c41e3a !important;
}

/* 参数键值红色 */
.param-key {
  color: #c41e3a !important;
}
.param-value {
  color: #c41e3a !important;
}

/* 模态框描述红色 */
.modal-desc {
  color: #c41e3a !important;
}

/* 留言表单文字红色 */
.feedback-form label,
.feedback-form input,
.feedback-form textarea {
  color: #c41e3a !important;
}

/* ========== 前端所有文字标题全部红色 ========== */
/* Logo红色 */
.logo-text {
  color: #c41e3a !important;
}

/* 导航栏链接红色 */
.nav-link {
  color: #c41e3a !important;
}
.nav-link:hover, .nav-link.active {
  color: #e63946 !important;
}

/* 语言按钮红色 */
.lang-btn {
  color: #ffffff !important;
  background: #c41e3a !important;
}

/* 所有section标题红色 */
.section-title {
  color: #c41e3a !important;
}
.section-title::after {
  background: linear-gradient(90deg, #c41e3a, #e63946) !important;
}

/* 副标题红色 */
.section-subtitle {
  color: #c41e3a !important;
}

/* 产品名称红色 */
.product-name {
  color: #c41e3a !important;
}

/* 产品描述红色 */
.product-desc {
  color: #c41e3a !important;
}

/* 参数键红色 */
.param-key {
  color: #c41e3a !important;
}

/* 参数值红色 */
.param-value {
  color: #c41e3a !important;
}

/* 关于我们文字红色 */
.about-text {
  color: #c41e3a !important;
}

/* 联系信息标签红色 */
.contact-label {
  color: #c41e3a !important;
}

/* 联系信息值红色 */
.contact-value {
  color: #c41e3a !important;
}

/* 表单标签红色 */
label {
  color: #c41e3a !important;
}

/* 页脚文字红色 */
.footer {
  color: #c41e3a !important;
}

/* 产品详情弹窗标题红色 */
.modal-title {
  color: #c41e3a !important;
}

/* 产品详情弹窗描述红色 */
.modal-desc {
  color: #c41e3a !important;
}

/* 产品详情弹窗参数标题红色 */
.modal-params-title {
  color: #c41e3a !important;
}

/* 留言表单标题红色 */
.feedback-form h3 {
  color: #c41e3a !important;
}

/* 自定义页面标题红色 */
#customPageContent h2 {
  color: #c41e3a !important;
}

/* 确认产品图片4:3比例 */
.product-image {
  aspect-ratio: 4 / 3 !important;
  object-fit: cover !important;
  width: 100% !important;
}

/* ========== 确保主页左上角Logo（ZRDR）全部红色 ========== */
#logoText,
#logoText span,
.logo #logoText,
.logo #logoText span,
a.logo,
a.logo span {
  color: #c41e3a !important;
}

/* 页脚Logo也红色 */
.footer-logo,
.footer-logo span {
  color: #c41e3a !important;
}

/* 确保Logo容器没有其他颜色覆盖 */
#logoContainer {
  color: #c41e3a !important;
}

/* ========== 覆盖Logo渐变效果，强制纯红色 ========== */
.logo span,
#logoText span,
a.logo span {
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: #c41e3a !important;
  color: #c41e3a !important;
}

/* Logo整体也强制红色 */
.logo,
#logoText,
a.logo {
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: #c41e3a !important;
  color: #c41e3a !important;
}

/* 页脚Logo也强制红色 */
.footer-logo,
.footer-logo span {
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: #c41e3a !important;
  color: #c41e3a !important;
}

/* ========== Logo和标题字体加大 ========== */
.logo,
#logoText,
a.logo {
  font-size: 36px !important;
  font-weight: 900 !important;
  letter-spacing: 3px !important;
}

/* 导航栏链接字体加大 */
.nav-link {
  font-size: 18px !important;
}

/* section标题加大 */
.section-title {
  font-size: 36px !important;
}

/* 副标题加大 */
.section-subtitle {
  font-size: 18px !important;
}

/* 产品名称加大 */
.product-name {
  font-size: 22px !important;
}

/* 产品详情弹窗标题加大 */
.modal-title {
  font-size: 32px !important;
}

/* 产品详情参数标题加大 */
.modal-params-title {
  font-size: 24px !important;
}

/* 关于我们文字加大 */
.about-text {
  font-size: 18px !important;
  line-height: 1.8 !important;
}

/* 联系信息文字加大 */
.contact-label {
  font-size: 16px !important;
}
.contact-value {
  font-size: 20px !important;
}

/* 页脚Logo加大 */
.footer-logo {
  font-size: 28px !important;
  font-weight: 900 !important;
}

/* ========== 确保产品卡片显示描述 ========== */
.product-card .product-desc {
  display: block !important;
  color: #ccc !important;
  font-size: 14px !important;
  margin-top: 8px !important;
  line-height: 1.5 !important;
  max-height: 60px !important;
  overflow: hidden !important;
}

.product-card .product-params {
  display: block !important;
  margin-top: 10px !important;
}

/* ========== 产品卡片布局：2/3图片 + 1/3描述 ========== */
.product-card {
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.product-card .product-image {
  width: 100% !important;
  aspect-ratio: 3 / 2 !important;
  object-fit: cover !important;
  flex: 0 0 auto !important;
}

.product-card .product-info {
  flex: 1 1 auto !important;
  padding: 15px !important;
  display: flex !important;
  flex-direction: column !important;
}

.product-card .product-name {
  font-size: 18px !important;
  margin-bottom: 8px !important;
}

.product-card .product-desc {
  flex: 1 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #aaa !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
}

.product-card .product-params {
  margin-top: 10px !important;
  padding-top: 10px !important;
  border-top: 1px solid #2a2a2a !important;
}

/* ========== 产品卡片最终布局：2/3图片 + 1/3描述（高优先级） ========== */
#productsGrid .product-card {
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  height: 400px !important;
  border-radius: 12px !important;
}

#productsGrid .product-card .product-image {
  flex: 2 !important;
  width: 100% !important;
  height: 0 !important;
  min-height: 0 !important;
  object-fit: cover !important;
  display: block !important;
}

#productsGrid .product-card .product-info {
  flex: 1 !important;
  padding: 12px 15px !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  background: #1a1a1a !important;
}

#productsGrid .product-card .product-name {
  font-size: 16px !important;
  margin: 0 0 6px 0 !important;
  color: #fff !important;
  flex-shrink: 0 !important;
}

#productsGrid .product-card .product-desc {
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: #aaa !important;
  margin: 0 !important;
  flex: 1 !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

#productsGrid .product-card .product-params {
  display: none !important;
}


/* ========== 移动端适配优化 ========== */
/* 平板及以下（<=968px）：完善已有的移动端断点 */
@media (max-width: 968px) {
  .nav-menu {
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    background: #0a0a0a !important;
    border-bottom: 1px solid #2a2a2a !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    padding: 12px 16px !important;
    gap: 4px !important;
  }
  .nav-menu li a {
    display: block;
    text-align: center;
    font-size: 17px !important;
    padding: 13px 16px !important;
    border-radius: 8px !important;
  }
  .nav-menu li a:active {
    background: rgba(196, 30, 58, 0.25) !important;
  }
  .nav-container {
    padding: 0 16px;
  }
  .lang-selector {
    margin-left: 8px;
  }

  /* 产品卡片：移动端取消固定高度，改为自适应 */
  #productsGrid .product-card {
    height: auto !important;
    min-height: 0 !important;
  }
  #productsGrid .product-card .product-image {
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3 !important;
  }
  #productsGrid .product-card .product-info {
    flex: 0 0 auto !important;
  }

  /* 联系信息卡片 */
  .contact-cards {
    gap: 16px;
  }
  .contact-card {
    padding: 30px 20px !important;
  }

  /* 关于我们视频 */
  .about-video-container {
    border-radius: 10px;
  }

  /* 产品详情弹窗 */
  .modal-overlay {
    padding: 10px;
    align-items: flex-end;
  }
  .modal-content {
    max-height: 92vh;
    border-radius: 16px 16px 0 0 !important;
  }
  .modal-body {
    padding: 20px !important;
  }
  .modal-image {
    aspect-ratio: 4 / 3 !important;
    height: auto !important;
  }

  /* 自定义菜单页面 */
  .custom-page-section {
    padding-top: 100px !important;
  }
}

/* 手机（<=768px） */
@media (max-width: 768px) {
  .nav-container {
    height: 60px;
  }
  .nav-menu {
    top: 60px;
  }
  .logo, #logoText, a.logo {
    font-size: 26px !important;
    letter-spacing: 2px !important;
  }
  .lang-btn {
    padding: 6px 12px !important;
    font-size: 13px !important;
  }

  .section {
    padding: 50px 16px !important;
  }
  .section-title {
    font-size: 26px !important;
    margin-bottom: 15px !important;
  }
  .section-title::after {
    width: 60px !important;
    margin-top: 12px !important;
  }
  .section-subtitle {
    font-size: 15px !important;
    margin-bottom: 30px !important;
  }

  .about-text {
    font-size: 15px !important;
    line-height: 1.9 !important;
  }

  /* 产品 */
  #productsGrid .product-card .product-name {
    font-size: 17px !important;
  }
  #productsGrid .product-card .product-desc {
    font-size: 13px !important;
  }

  /* 联系信息 */
  .contact-icon {
    font-size: 36px !important;
    margin-bottom: 12px !important;
  }
  .contact-label {
    font-size: 15px !important;
  }
  .contact-value {
    font-size: 16px !important;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  /* 反馈表单 */
  .feedback-form {
    padding: 22px 16px !important;
  }
  .feedback-form input,
  .feedback-form textarea {
    font-size: 16px !important;
    padding: 12px !important;
  }
  .submit-btn {
    width: 100%;
    font-size: 16px !important;
    padding: 14px !important;
  }

  /* 产品详情弹窗 */
  .modal-title {
    font-size: 22px !important;
  }
  .modal-close {
    width: 36px !important;
    height: 36px !important;
    top: 12px !important;
    right: 12px !important;
    font-size: 18px !important;
  }

  /* 自定义页面 */
  #customPageContent h2 {
    font-size: 24px !important;
  }
  #customPageContent p {
    font-size: 15px !important;
  }

  /* 页脚 */
  .footer {
    padding: 30px 16px !important;
  }
  .footer-text {
    font-size: 13px !important;
    padding: 0 10px !important;
  }
  .footer-logo {
    font-size: 24px !important;
  }

  /* 首页 Banner：移动端完整显示图片，不放大裁剪，并避开顶部导航栏 */
  .hero-section {
    height: auto !important;
    min-height: 0 !important;
    padding-top: 60px !important;
  }
  .hero-image {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
  }
}

/* 小屏手机（<=480px） */
@media (max-width: 480px) {
  .logo, #logoText, a.logo {
    font-size: 22px !important;
    letter-spacing: 1px !important;
  }
  .nav-menu {
    padding: 10px 12px !important;
  }
  .section-title {
    font-size: 22px !important;
  }
  .contact-cards {
    gap: 12px;
  }
  .contact-card {
    padding: 22px 16px !important;
  }
  .modal-image {
    aspect-ratio: 4 / 3 !important;
    height: auto !important;
  }
  .modal-body {
    padding: 16px !important;
  }
}


/* ========== 产品图片 4:3 完整显示修复（避免遮挡） ========== */
/* 卡片：图片按 4:3 完整显示，卡片高度自适应 */
#productsGrid .product-card {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}
#productsGrid .product-card .product-image {
  flex: 0 0 auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: cover !important;
  display: block !important;
}
#productsGrid .product-card .product-info {
  flex: 1 !important;
  background: #1a1a1a !important;
}

/* 详情弹窗：图片按 4:3 完整显示 */
.modal-image {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: cover !important;
  display: block !important;
}


/* ========== 产品图片跨浏览器 4:3 完整显示（兼容 Safari / 旧浏览器） ========== */
/* 方案：padding-bottom 比例盒，不依赖 aspect-ratio，所有浏览器渲染一致 */
#productsGrid .product-card {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}
#productsGrid .product-card .product-image-wrap {
  position: relative !important;
  width: 100% !important;
  padding-bottom: 75% !important; /* 4:3 */
  overflow: hidden !important;
  flex: 0 0 auto !important;
  min-height: 0 !important;
  background: #1e1e3a !important;
}
#productsGrid .product-card .product-image {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  flex: none !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  display: block !important;
}
#productsGrid .product-card .product-info {
  flex: 1 !important;
  background: #1a1a1a !important;
}

/* 详情弹窗：按原图比例完整显示，永不裁切 */
.modal-image {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  display: block !important;
}


/* ========== 导航菜单加粗 ========== */
.nav-menu li a {
  font-weight: 600 !important;
}


/* ========== 隐藏关于我们视频下方文字 ========== */
.about-text {
  display: none !important;
}


/* ========== 网页配色：暗黑红渐变（参考图 2026-08-27） ========== */
:root {
  --page-bg-1: #150B0C;
  --page-bg-2: #1D0E10;
  --page-bg-3: #260B0D;
  --page-bg-4: #2A0A0C;
  --page-panel: #1E0E10;
  --page-panel-soft: #180C0D;
  --page-border: rgba(196, 30, 58, 0.22);
}

/* 页面整体：黑 → 暗红渐变 */
body {
  background: linear-gradient(135deg, var(--page-bg-1) 0%, var(--page-bg-2) 40%, var(--page-bg-3) 75%, var(--page-bg-4) 100%) fixed !important;
}

/* 顶部导航 */
.navbar,
.navbar.scrolled {
  background: rgba(24, 13, 14, 0.95) !important;
  border-bottom: 1px solid var(--page-border) !important;
  box-shadow: 0 2px 20px rgba(196, 30, 58, 0.15) !important;
}

/* 各区块：透明，让 body 渐变透出 */
.section,
.feedback-section,
.about-section,
.products-section,
.contact-section {
  background: transparent !important;
}

/* 关于我们视频容器 */
.about-video-container {
  background: #160C0D !important;
  border: 1px solid var(--page-border) !important;
}

/* 产品卡片 */
#productsGrid .product-card,
.product-card {
  background: var(--page-panel) !important;
  border: 1px solid var(--page-border) !important;
}
#productsGrid .product-card .product-info {
  background: var(--page-panel-soft) !important;
}

/* 留言/联系表单 */
.feedback-form {
  background: rgba(22, 11, 12, 0.85) !important;
  border: 1px solid var(--page-border) !important;
}
.feedback-form input,
.feedback-form textarea {
  background: #140A0B !important;
  border-color: rgba(196, 30, 58, 0.25) !important;
}

/* 联系卡片（原为蓝调，改为暗红黑） */
.contact-card {
  background: rgba(26, 13, 15, 0.92) !important;
  border: 1px solid var(--page-border) !important;
}

/* 产品详情弹窗 */
.modal-overlay {
  background: rgba(12, 6, 7, 0.88) !important;
}
.modal-content {
  background: var(--page-panel) !important;
  border: 1px solid rgba(196, 30, 58, 0.4) !important;
}

/* 页脚 */
.footer {
  background: rgba(13, 7, 8, 0.95) !important;
  border-top: 1px solid var(--page-border) !important;
}

/* 移动端导航下拉 */
.nav-menu {
  background: rgba(24, 13, 14, 0.98) !important;
  border-bottom: 1px solid var(--page-border) !important;
}


/* ========== 所有字体颜色改为枪灰色 ========== */
* {
  color: #70777C !important;
}
::placeholder {
  color: #70777C !important;
  opacity: 1;
}


/* ========== 所有字体颜色改为枪灰色（高优先级覆盖） ========== */
body { color: #70777C !important; }
h1, h2, h3, h4, h5, h6 { color: #70777C !important; }
p, span, a, li, div, label { color: #70777C !important; }

/* 导航 & Logo */
#logoContainer, .logo, .logo-text, a.logo { color: #70777C !important; }
#logoContainer span, .logo span, .logo-text span, a.logo span {
  color: #70777C !important;
  -webkit-text-fill-color: #70777C !important;
  background: none !important;
}
.nav-link, .nav-menu li a { color: #70777C !important; }
.nav-link:hover, .nav-link.active, .nav-menu li a:hover, .nav-menu li a.active { color: #70777C !important; }

/* 标题 */
.section-title, .section-subtitle { color: #70777C !important; }
.section-title span, .section-subtitle span { color: #70777C !important; }

/* 产品 */
.product-name, .product-desc, .product-card .product-desc, .product-card:hover { color: #70777C !important; }
#productsGrid .product-card .product-name, #productsGrid .product-card .product-desc { color: #70777C !important; }
.param-key, .param-value { color: #70777C !important; }

/* 联系 */
.contact-label, .contact-value { color: #70777C !important; }
.contact-item .icon { color: #70777C !important; }

/* 页脚 */
.footer, .footer-text, .footer-logo, .footer-logo span { color: #70777C !important; }

/* 弹窗 */
.modal-title, .modal-desc, .modal-params-title, .modal-content { color: #70777C !important; }
.modal-close { color: #70777C !important; }

/* 表单 */
.feedback-form h3, .feedback-form label { color: #70777C !important; }
.feedback-form input, .feedback-form textarea, input, textarea, select,
input:focus, textarea:focus, select:focus { color: #70777C !important; }
.admin-btn, .hero-btn, .submit-btn { color: #70777C !important; }

/* 语言切换 & 移动菜单 */
.lang-btn, .lang-dropdown a, .lang-dropdown a:hover { color: #70777C !important; }
.mobile-menu-btn { color: #70777C !important; }

/* 关于文字（已隐藏，一并覆盖） */
.about-text { color: #70777C !important; }

/* 自定义页面 */
#customPageContent h2, #customPageContent p, #customPageContent li { color: #70777C !important; }

/* 占位符 */
::placeholder { color: #70777C !important; opacity: 1; }


/* ========== 去除导航栏底部横线 ========== */
.navbar,
.navbar.scrolled {
  border-bottom: none !important;
}
.nav-menu {
  border-bottom: none !important;
}


/* ========== 语言选择按钮配色（与整体暗红黑协调） ========== */
.lang-btn {
  background: rgba(30, 14, 16, 0.9) !important;
  border: 1px solid rgba(196, 30, 58, 0.55) !important;
  color: #70777C !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}
.lang-btn:hover {
  background: rgba(196, 30, 58, 0.35) !important;
  color: #70777C !important;
}
.lang-dropdown {
  background: #1E0E10 !important;
  border: 1px solid rgba(196, 30, 58, 0.4) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}
.lang-dropdown a {
  color: #70777C !important;
  font-weight: 500 !important;
}
.lang-dropdown a:hover {
  color: #70777C !important;
  background: rgba(196, 30, 58, 0.25) !important;
}


/* ========== 中文页面隐藏英文副标题（.section-subtitle） ========== */
html[lang="zh"] .section-subtitle {
  display: none;
}


/* ========== 桌面端导航菜单项不换行，避免英文菜单折行错乱 ========== */
@media (min-width: 969px) {
  .nav-menu {
    flex-wrap: nowrap;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .nav-menu::-webkit-scrollbar {
    display: none;
  }
  .nav-menu li {
    flex-shrink: 0;
  }
  .nav-menu li a {
    white-space: nowrap;
    padding: 8px 12px !important;
    font-size: 14px !important;
    letter-spacing: 0;
  }
}


/* ========== 产品分类二级菜单 ========== */
.nav-menu li.has-submenu {
  position: relative;
}
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #1E0E10;
  border: 1px solid rgba(196, 30, 58, 0.4);
  border-radius: 8px;
  padding: 8px 0;
  margin: 0;
  list-style: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 200;
}
.nav-menu li.has-submenu:hover > .submenu,
.nav-menu li.has-submenu.open > .submenu {
  display: block;
}
.submenu li a {
  display: block;
  padding: 10px 18px;
  color: #70777C;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  text-align: left;
}
.submenu li a:hover,
.submenu li a.active {
  background: rgba(196, 30, 58, 0.25);
  color: #70777C;
}

/* 移动端：二级菜单默认收起，点击"产品展示"展开 */
@media (max-width: 968px) {
  .submenu {
    display: none;
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 4px 24px;
    min-width: 0;
  }
  .nav-menu li.has-submenu.open > .submenu {
    display: block;
  }
  .submenu li a {
    font-size: 15px;
    padding: 10px 12px;
    text-align: center;
  }
}


/* ========== 产品展示页分类标签导航 ========== */
.product-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 auto 45px;
  max-width: 1200px;
  border-bottom: 1px solid rgba(112, 119, 124, 0.25);
}
.product-tab {
  background: transparent;
  border: none;
  padding: 12px 24px;
  font-size: 15px;
  color: #70777C;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
  white-space: nowrap;
  font-weight: 500;
  font-family: inherit;
}
.product-tab:hover {
  color: #8a8f94;
}
.product-tab.active {
  color: #4e5256;
  font-weight: 600;
}
.product-tab.active::after {
  content: '';
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: -1px;
  height: 3px;
  background: #C41E3A;
  border-radius: 2px;
}

/* 移动端：标签紧凑换行 */
@media (max-width: 768px) {
  .product-tabs {
    gap: 2px;
    margin-bottom: 35px;
  }
  .product-tab {
    padding: 10px 12px;
    font-size: 13px;
  }
}
