 * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }body {
  padding-top: 87px;
}
/* Navigation - 统一前缀 custom-nav- */
.custom-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 87px;
  background: #0A0A0A;
  /* 优化后的阴影：只向下扩散，更自然的模糊和透明度 */
  
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  z-index: 999;
  /* 可选：添加一点点过渡让阴影在交互时更丝滑 */
  transition: box-shadow 0.3s ease;
}

/* 可选：鼠标悬停时增强阴影，提升交互感 */
.custom-nav:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.75);
}

.custom-nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.custom-nav-logo {
  font-size: 20px;
  font-weight: bold;
  color: #2563eb;
  text-decoration: none;
}
.custom-nav-logo img {
  height: 40px;
}

/* PC Menu - 核心调整一级链接颜色 */
.custom-nav-pc-menu    {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 100%;
}

/* PC Menu - 优化一级链接过渡效果 */
.custom-nav-pc-menu .custom-nav-item {
	position: relative;
	height: 100%;
	display: flex;
	align-items: center;
	cursor: pointer;
	font-size: 15px;
	font-weight: bold;
	color: #FFFFFF !important;
	/* 核心优化：精准指定过渡属性 + 延长过渡时长 */
  transition: color 0.4s ease-in-out, transform 0.15s ease;
	/* 可选：轻微提升hover时的文字位置，增强交互感 */
  transform: translateY(0);
	padding-top: 0;
	padding-right: 16px;
	padding-bottom: 0;
	padding-left: 16px;
}


.custom-nav-pc-menu .custom-nav-item a{	color:#fff;} 
.custom-nav-pc-menu .custom-nav-item a:hover{color:#FAC30D}


.custom-nav-pc-menu .custom-nav-item  .pc  {
 color: #FFFFFF !important;
}

/* 鼠标经过样式 */
.custom-nav-pc-menu .custom-nav-item a:hover {
  color: #FAC30D!important; /* 强制hover橙色，避免被其他样式覆盖 */
}

/* ========== 新增：当前页面菜单激活样式 ========== */
/* 激活态文字颜色和hover一致 */

.custom-nav-pc-menu .custom-nav-item.custom-nav-item-active  {
  color: #FAC30D !important;
}

.custom-nav-pc-menu .custom-nav-item.custom-nav-item-active a {
  color: #FAC30D !important;
}
/* 激活态下划线和hover一致 */
.custom-nav-pc-menu .custom-nav-item.custom-nav-item-active::after {
  width: 80%;
}

/* 鼠标经过时改为橙色 */
.custom-nav-pc-menu .custom-nav-item::after {
  content: '';
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #FAC30D;
  transition: width 0.25s ease;
}
.custom-nav-pc-menu .custom-nav-item:hover::after {
  width: 80%;
}

/* PC Dropdown */
.custom-nav-drop {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 10px);
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 1000;
  white-space: nowrap;
  transform-origin: top center;
}

.custom-nav-pc-menu .custom-nav-item:hover .custom-nav-drop {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* PC Product with Images */
.custom-nav-drop-pro {
  display: grid;
  grid-template-columns: repeat(3, 300px);
  gap: 20px;
  padding: 15px;
  min-width: 940px;
  max-width: calc(100vw - 40px);
  white-space: normal;
}
.custom-nav-drop-pro a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #333;
  font-size: 15px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}
.custom-nav-drop-pro a:hover {
  background: #f8fafc;
  border-color: #e2e8f0;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
.custom-nav-drop-pro img {
  width: 280px;
  height: 187px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}
.custom-nav-drop-pro a:hover img {
  transform: scale(1.02);
}
.custom-nav-drop-pro a span {
  transition: color 0.2s ease;color: #000000;
}
.custom-nav-drop-pro a:hover span {
  color: #FF8400;
  font-weight: 500;
}

/* PC Text Vertical */
.custom-nav-drop-text {
  display: flex;  color: #333;
  font-weight: normal;
  flex-direction: column;
  gap: 8px;
  padding: 8px 10px;
  min-width: 200px;
}
.custom-nav-drop-text a {
  text-decoration: none;
  color: #333;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 4px;
  display: block;
  transition: all 0.2s ease;
  font-weight: normal;
}

.custom-nav-drop-text a:link  {
  text-decoration: none;
  color: #333;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 4px;
  display: block;
  transition: all 0.2s ease;
  font-weight: normal;
}


.custom-nav-drop-text a:visited {
  text-decoration: none;
  color: #333;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 4px;
  display: block;
  transition: all 0.2s ease;
  font-weight: normal;
}


.custom-nav-drop-text a:hover {
  font-weight: normal;
  color: #ff6600;
  background-color: #F7FAFF;
  text-decoration: underline;
}
.custom-nav-drop-text a span {
  transition: color 0.2s ease;color: #000000;
}
.custom-nav-drop-text a:hover span {
  color: #FF8400;
  
}
/* PC Search */
.custom-nav-search {
  display: flex;
  align-items: center;
  margin-left: 10px;
}
.custom-nav-search-btn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 6px 8px;
  color: #FFFFFF; /* 搜索按钮同步白色 */
  transition: color 0.2s;
}
.custom-nav-search-btn:hover {
  color: #FF8400; /* 搜索按钮hover同步橙色 */
}

/* 搜索弹窗样式 */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.search-modal.show {
  opacity: 1;
  visibility: visible;
}
.search-modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  position: relative;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}
.search-modal.show .search-modal-content {
  transform: translateY(0);
}
.search-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #666;
}
.search-modal-close:hover {
  color: #2563eb;
}
.search-modal-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
  text-align: center;
}
.search-modal-input-wrap {
  display: flex;
  gap: 10px;
}
.search-modal-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
}
.search-modal-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}
.search-modal-btn {
  padding: 12px 24px;
  background: #FDC113;
  color: #000;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s;
}
.search-modal-btn:hover {
  background: #FDC113;
}

/* Mobile Button */
.custom-nav-mob-btn {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #FFFFFF; /* 移动端按钮同步白色 */
}

/* Mobile Menu */
.custom-nav-mob-menu {
  position: fixed;
  top: 87px;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 16px 20px;
  z-index: 998;
  display: none;
}
.custom-nav-mob-menu.show {
  display: block;
}
.custom-nav-mob-search-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: #f3f4f6;
  border-radius: 8px;
  text-align: center;
  color: #333;
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 12px;color: #000000;
}
 .custom-nav-mob-search-btn:link,hover,active {
	background: #e5e7eb;
	color: #000000;
}

/* Mobile Items */
.custom-nav-mob-item {
  padding: 12px 0;
  border-bottom: 2px solid #f2f2f2;
}

 

.custom-nav-mob-item  a:hover{color:#FAC30D}




.custom-nav-mob-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
}
.custom-nav-mob-head.no-arrow {
  display: block;
  text-align: left;
}
.custom-nav-mob-head.no-arrow::after {
  display: none;
}

.custom-nav-mob-drop {
  display: none;
  padding-top: 10px;
}
.custom-nav-mob-drop.show {
  display: block;
}

/* Mobile Product 2 columns */
.custom-nav-mob-pro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.custom-nav-mob-pro-grid a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
}
.custom-nav-mob-pro-grid img {
  width: 120px;
  height: 80px;
  border-radius: 6px;
  object-fit: cover;
}

    .custom-nav-mob-text a {
      display: flex; /* 弹性布局对齐修饰符和文字 */
      align-items: center; /* 垂直居中 */
      padding: 8px 0;
      font-size: 14px;
      text-decoration: none;
      color: #FF9248; /* 橙红色主色 */
      width: fit-content; /* 宽度适配内容，避免占满整行 */
    }

    /* 链接前的小圆点修饰符 */
    .custom-nav-mob-text a::before {
      content: ""; /* 伪元素必备 */
      display: inline-block;
      width: 4px; /* 圆点大小 */
      height: 4px;
      background-color: #FF9248; /* 与文字同色，视觉统一 */
      border-radius: 50%; /* 圆形 */
      margin-right: 8px; /* 圆点与文字间距 */
      flex-shrink: 0; /* 防止压缩变形 */
    }

    /* hover交互效果（可选，增强体验） */
    .custom-nav-mob-text a:hover {
      color: #e67e22; /* hover时文字稍深 */
    }
    .custom-nav-mob-text a:hover::before {
      background-color: #e67e22; /* hover时圆点同步变色 */
    }

 

/* ========== 新增：移动端当前页面菜单激活样式 ========== */
.custom-nav-mob-item.custom-nav-mob-item-active .custom-nav-mob-head {
  color: #FF8400;
}

@media (max-width: 1008px) {
  .custom-nav-pc-menu {
    display: none !important;
  }
  .custom-nav-mob-btn {
    display: block !important;
  }
}
@media (min-width: 1009px) {
  .custom-nav-mob-menu,
  .custom-nav-mob-btn {
    display: none !important;
  }
}

